[PATCH] D69462: [DebugInfo]: Support for debug_loclists.dwo section in llvm and llvm-dwarfdump.

Sourabh Singh Tomar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 03:01:31 PST 2019


SouraVX marked 2 inline comments as done.
SouraVX added inline comments.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1195
 
-  if (useSplitDwarf())
+  if (useSplitDwarf() && getDwarfVersion() <= 4)
+    // Handles only debug_loc.dwo section emission
----------------
In current implementation, `emitDebugLocDWO()` only handles `-gdwarf-4 -gsplit-dwarf` case.
Rest of the cases
`-gdwarf-4`, `-gdwarf-5`, `-gdwarf-5 -gsplit-dwarf` are handled by emitDebugLoc();.








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

https://reviews.llvm.org/D69462





More information about the llvm-commits mailing list