[PATCH] D72023: Change dbg-*-tag-offset tests to use llvm-dwarfdump.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 2 14:39:13 PST 2020
eugenis marked an inline comment as done.
eugenis added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/dbg-declare-tag-offset.ll:6-13
+; CHECK-NOT: DW_TAG_variable
+; CHECK: DW_AT_LLVM_tag_offset (0x01)
+; CHECK-NEXT: DW_AT_name ("a")
-; CHECK: .byte 1 // DW_AT_LLVM_tag_offset
-; CHECK: .word .Linfo_string4 // DW_AT_name
-
-; CHECK: .byte 2 // DW_AT_LLVM_tag_offset
-; CHECK: .word .Linfo_string6 // DW_AT_name
+; CHECK: DW_TAG_variable
+; CHECK-NOT: DW_TAG_variable
+; CHECK: DW_AT_LLVM_tag_offset (0x02)
----------------
dblaikie wrote:
> Oh, I'd probably use "CHECK-NOT: DW_TAG", FWIW. (because you're interested in these tags being attached to a DW_TAG_variable, not some other tag)
right, of course
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72023/new/
https://reviews.llvm.org/D72023
More information about the llvm-commits
mailing list