This implements support for DWARF v5 DW_FORM_strx3 and completes support for the other strx<n> forms on the consumer side. The existing test for DWARF v5 string offset tables was augmented accordingly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This is just a general high-level comment: When adding new DWARF5 features it might also be a good idea to think about what checks could be added to DWARFVerifier to diagnose corrupt input (and potentially implement them as well :-)
Comment Actions
Seems generally straightforward/fine.
lib/Support/DataExtractor.cpp | ||
---|---|---|
80 ↗ | (On Diff #103260) | perhaps make this a member UInt24_t::getAsUint32(LE?)() ? |
Comment Actions
Addressed review comments: added a method getAsUint32 to the uint24_t struct.
lib/Support/DataExtractor.cpp | ||
---|---|---|
80 ↗ | (On Diff #103260) | Thanks, yes, that looks cleaner. |