================ @@ -0,0 +1,42 @@ +# RUN: yaml2obj %s -o %t +# RUN: llvm-objdump %t -d --symbolize-operands --no-show-raw-insn --no-leading-addr | \ +# RUN: FileCheck %s --match-full-lines +# RUN: llvm-objdump %t -d --symbolize-operands --no-show-raw-insn --no-leading-addr --adjust-vma=0x2000 | \ +# RUN: FileCheck %s --match-full-lines + +## Expect to find the branch labels and global variable name. +# CHECK: <_start>: +# CHECK-NEXT: ldr x0, <symbol> +# CHECK-NEXT: <L0>: +# CHECK-NEXT: adrp x1, 0x{{[68]}}000 <symbol+0xff4> ---------------- jh7370 wrote:
Personally, I'd prefer this to use either a) a FileCheck -D option to specify the expected value in each specific case, or b) a different check prefix for each case, to ensure the maximum tightness for the test, as this could pass even though the wrong value is being used. https://github.com/llvm/llvm-project/pull/145009 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits