Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | .debug_names: Parse DW_IDX_die_offset as a reference | Pavel Labath | 2018-03-29 | 1 | -2/+2 |
| | | | | | | | | | | | Before this patch we were parsing the attributes as section offsets, as that is what apple_names is doing. However, this is not correct as DWARF v5 specifies that this attribute should use the Reference form class. This also updates all the testcases (except the ones that deliberately pass a different form) to use the correct form class. llvm-svn: 328773 | ||||
* | DWARFVerifier: Basic verification of .debug_names | Pavel Labath | 2018-03-08 | 1 | -0/+64 |
Summary: This patch adds basic .debug_names verification capabilities to the DWARF verifier. Right now, it checks that the headers and abbreviation tables of the individual name indexes can be parsed correctly, it verifies the buckets table and the cross-checks the CU lists for consistency. I intend to add further checks in follow-up patches. Reviewers: JDevlieghere, aprantl, probinson, dblaikie Subscribers: vleschuk, echristo, clayborg, llvm-commits Differential Revision: https://reviews.llvm.org/D44211 llvm-svn: 327011 |