[PATCH] D73086: [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
Tue Mar 3 06:02:20 PST 2020
ikudrin added a comment.
In D73086#1902867 <https://reviews.llvm.org/D73086#1902867>, @SouraVX wrote:
> As I noted, Example Figure D.71 and D.72 -- both contain 4 byte offset and line number offset present.
An excerpt from `D.72`:
! Macro unit for "a.h" lines 1-2
i$1h: Version: 5
Flags: 0
offset_size_flag: 0 ! 4-byte offsets
debug_line_offset_flag: 0 ! No line number offset
opcode_operands_table_flag: 0 ! No extensions
i$1m: DW_MACRO_define_strp, 1, s$2 ! #define Line: 1, String: "LONGER_MACRO 1"
DW_MACRO_define, 2, "B 2" ! #define Line: 2, String: "B 2"
0 ! End macro unit
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73086/new/
https://reviews.llvm.org/D73086
More information about the llvm-commits
mailing list