[PATCH] D70081: DWARFDebugLoclists: add location list "interpretation" logic

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 07:00:16 PST 2019


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


================
Comment at: llvm/test/DebugInfo/X86/loclists-dwp.ll:22-25
+; CHECK-NEXT: DW_LLE_startx_length (0x0000000000000000, 0x0000000000000006): DW_OP_reg5 RDI)
 
 ; CHECK:      DW_AT_location [DW_FORM_sec_offset]   (0x00000000
+; CHECK-NEXT: DW_LLE_startx_length (0x0000000000000000, 0x0000000000000000): DW_OP_reg5 RDI)
----------------
This is the test I was talking about above. It's sole purpose is to test handling of dwp files, but one cannot resolve addresses properly just by looking at the dwp file -- it doesn't have the address pool, and llvm-dwarfdump does not have the ability to provide it right now. By maintaining the ability to print _something_ in this case, we can keep the test, and make dumps of dwp/dwo files more useful.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70081





More information about the llvm-commits mailing list