[PATCH] D127940: [JITLink][AArch64][NFC] Suppress unused variable error.

Sunho Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 23:30:53 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf3e7e4d786fa: [JITLink][AArch64][NFC] Suppress unused variable error. (authored by sunho).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127940/new/

https://reviews.llvm.org/D127940

Files:
  llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h


Index: llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
===================================================================
--- llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
+++ llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
@@ -266,6 +266,7 @@
     case aarch64::TLVPageOffset12: {
       KindToSet = aarch64::PageOffset12;
       uint32_t RawInstr = *(const support::ulittle32_t *)FixupPtr;
+      (void)RawInstr;
       assert(E.getAddend() == 0 &&
              "GOTPageOffset12/TLVPageOffset12 with non-zero addend");
       assert((RawInstr & 0xfffffc00) == 0xf9400000 &&


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127940.437454.patch
Type: text/x-patch
Size: 592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220616/8eed1a0e/attachment.bin>


More information about the llvm-commits mailing list