[llvm] r290204 - [ObjectYAML] Support for DWARF debug_info section
Robinson, Paul via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 11:04:48 PST 2017
>> FYI: Are you aware that the format of the CU header is different in
>> different DWARF major versions?
>
> All of the code I've written for reading and writing DWARF data is
> based on the DWARF parsing code in libDebugInfo. From reading that
> code (DWARFUnit.cpp) it does not seem to me that there is anything
> conditional on version.
The compilation-unit header will change in DWARF 5. The headers for
DWARF 2-4 can all be handled identically.
--paulr
More information about the llvm-commits
mailing list