[PATCH] D80945: [DebugInfo] Fix a fatal error originating from split-macro support
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 12:59:56 PDT 2020
dblaikie added a comment.
I don't think this field (debug_line_offset) is optional if the debug_macro.dwo section contains DW_MACRO_start_file: "If a DW_MACRO_start_file entry is present, the header contains a reference to the .debug_line section of the compilation."
I'm not entirely clear on how that's meant to work for Split DWARF - what does GCC do? Seems like this might have to, unfortunately duplicate more file names (same design limitation as DWARF type units, though) into .debug_line.dwo.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80945/new/
https://reviews.llvm.org/D80945
More information about the llvm-commits
mailing list