[PATCH] D40114: [DebugInfo] Dump a .debug_line section, with line-number program, without a compile unit.

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 17:08:08 PST 2017


probinson created this revision.
probinson added a project: debug-info.
Herald added subscribers: JDevlieghere, hiraditya, arichardson, emaste.

It has always bugged me that readelf could do this but llvm-dwarfdump couldn't.  Now it can.

Diff is based on https://reviews.llvm.org/D39854.


https://reviews.llvm.org/D40114

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
  llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  llvm/test/DebugInfo/X86/dwarfdump-line-only.s
  llvm/test/DebugInfo/dwarfdump-64-bit-dwarf.test
  llvm/test/MC/ELF/discriminator.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40114.123108.patch
Type: text/x-patch
Size: 9598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171116/504814b7/attachment.bin>


More information about the llvm-commits mailing list