[PATCH] D70753: hwasan: add tag_offset DWARF attribute to optimized debug info

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 27 14:37:52 PST 2019


eugenis marked an inline comment as done.
eugenis added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/dbg-value-tag-offset.ll:5-15
+
+; CHECK: .Linfo_string5:
+; CHECK-NEXT: .asciz "y"
+; CHECK: .Linfo_string7:
+; CHECK-NEXT: .asciz "x"
+
+; CHECK:      .byte   128                     // DW_AT_LLVM_tag_offset
----------------
dblaikie wrote:
> Usually DWARF is tested with dwarfdump, not raw assembly - is there a reason this isn't tested that way?
I've cargo-culted the dbg-declare-tag-offset.ll  test by @pcc .
This should not be too hard to switch to llvm-dwarfdump.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70753





More information about the llvm-commits mailing list