It has always bugged me that readelf could do this but llvm-dwarfdump couldn't. Now it can.
Diff is based on D39854.
Paths
| Differential D40114
[DebugInfo] Dump a .debug_line section, with line-number program, without a compile unit. ClosedPublic Authored by probinson on Nov 15 2017, 5:07 PM.
Details Summary It has always bugged me that readelf could do this but llvm-dwarfdump couldn't. Now it can. Diff is based on D39854.
Diff Detail
Event TimelineHerald added subscribers: JDevlieghere, hiraditya, arichardson, emaste. · View Herald TranscriptNov 15 2017, 5:07 PM This revision is now accepted and ready to land.Nov 16 2017, 3:34 AM Comment Actions Thanks for accepting, Jonas! FWIW accepting by itself does not cause Phab to send email, there still needs to be a comment. Comment Actions
Thanks, I'll keep that in mind for next time!
Closed by commit rL318842: [DebugInfo] Dump a .debug_line section, including line-number program, (authored by probinson). · Explain WhyNov 22 2017, 7:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 123948 llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
llvm/trunk/test/DebugInfo/X86/dwarfdump-line-only.s
llvm/trunk/test/DebugInfo/dwarfdump-64-bit-dwarf.test
|