[PATCH] D32228: [DWARF] - Take relocations in account when extracting ranges from .debug_ranges

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 03:33:11 PDT 2017


grimar added inline comments.


================
Comment at: test/DebugInfo/dwarfdump-ranges-unrelocated.s:10
+## Asm code for testcase is a reduced output from next invocation and source:
+# clang test.cpp -S -o test.s -g -gsplit-dwarf -ffunction-sections
+# test.cpp:
----------------
dblaikie wrote:
> I'd probably not use -gsplit-dwarf in this test case, it doesn't seem to be important/relevant (though I suppose it'll make the DWARF longer as it'll now include all the subprogram DIEs, etc) - maybe -gmlt would suffice?
Yes, you right, -gmlt is suffice. And it makes output easier for reducing into current testcase.
Thanks !


Repository:
  rL LLVM

https://reviews.llvm.org/D32228





More information about the llvm-commits mailing list