[PATCH] D73086: [WIP][DWARF5] Added support for debug_macro section parsing and dumping in llvm-dwarfdump.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 8 23:25:39 PDT 2020


ikudrin added inline comments.


================
Comment at: llvm/test/DebugInfo/X86/dwarfdump-macro-macinfo.test:1
+RUN: llvm-dwarfdump -v %p/../Inputs/dwarfdump-macro-macinfo.elf-x86_64 | FileCheck %s
+
----------------
SouraVX wrote:
> ikudrin wrote:
> > It is better to avoid using binary files. They are really hard to maintain. It is also much harder to check if the binary files themselves are correct.
> this was generated by linking 2 different object containing v4 and v5 debuginfo. I noticed some errors while assembling the object generated by collapsing the asm of both into one. Is this a correct way ? for this case
For sure it is possible to prepare an assembler source that will have both `.debug_macro` and `.debug_macinfo` sections.


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

https://reviews.llvm.org/D73086





More information about the llvm-commits mailing list