This patch removes the hard-coded check for DWARFv2 line tables. Now
dsymutil accepts line tables for DWARF versions 2 to 5 (inclusive).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
tools/dsymutil/DwarfLinker.cpp | ||
---|---|---|
3235 | This calculation is incorrect for v5, which has an extra 2 bytes of information before the header_length field. Your choice whether to fix the calculation or restrict dsymutil to no higher than v4. |
tools/dsymutil/DwarfLinker.cpp | ||
---|---|---|
3235 | Thanks Paul! I will update the calculation. |
tools/dsymutil/DwarfLinker.cpp | ||
---|---|---|
3247 | Comment where the extra two bytes come from? |
This calculation is incorrect for v5, which has an extra 2 bytes of information before the header_length field. Your choice whether to fix the calculation or restrict dsymutil to no higher than v4.