[PATCH] D70540: [DWARF] Add support for parsing/dumping section indices in location lists

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 08:52:29 PST 2019


aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/test/tools/llvm-dwarfdump/X86/debug_loclists.s:8-11
+# BOTH:          DW_AT_location {{.*}}(0x0000000c
+
+# REGULAR-NEXT:      [0x0000000000000000, 0x0000000000000001): DW_OP_reg0 RAX
+# VERBOSE-NEXT:      [0x0000000000000000, 0x0000000000000001) ".text": DW_OP_reg0 RAX
----------------
labath wrote:
> I thought this layout would make the verbose/regular dump differences more obvious, but it could be just confusing...
If it *works* I think this is good. In the past I've encountered very unintuitive behavior when combining multiple --check-prefix options and `-NEXT`, but it looks like you are using it to the intended effect here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70540





More information about the llvm-commits mailing list