Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [DWARF] Check that all fields of a Unit Header are read. | Igor Kudrin | 2019-12-24 | 1 | -0/+1 |
| | | | | | | | | | Tests "dwarfdump-rnglists-dwarf64.s" and "dwarfdump-rnglists.s" were malformed because they had missing required DWO ID fields in split compilation unit headers. The patch fixes the tests and checks the reading of a unit header more thoroughly. Differential Revision: https://reviews.llvm.org/D71704 | ||||
* | [llvm/DWARF] Return section offset from DWARFUnit::get{Loc,Rng}listOffset | Pavel Labath | 2019-12-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Currently these function return the raw content of the appropriate table header, which means they are relative to the DW_AT_{loc,rng}list_base, and one has to relocate them in order to do anything. This changes the functions to perform the relocation themselves, which seems more clearer, particularly as they are sitting right next to the find{Rng,Loc}listFromOffset functions, but one *cannot* simply take the result of these functions and take pass them there. The only effect of this patch is to change what value is dumped for the DW_AT_ranges attribute, which I think is for the better, as previously the values appeared to point into thin air. (The main reason I am looking at this is because I was trying to implement equivalent functionality in lldb's DWARFUnit, and was stumped by this behavior. Reviewers: dblaikie, JDevlieghere, aprantl Subscribers: hiraditya, llvm-commits, SouraVX Tags: #llvm Differential Revision: https://reviews.llvm.org/D71006 | ||||
* | DebugInfo: Templatize rnglist header parsing to setup for reuse with loclist ↵ | David Blaikie | 2019-11-15 | 1 | -1/+1 |
| | | | | header parsing | ||||
* | [DWARF] Improved error reporting for range lists. | Wolfgang Pieb | 2018-06-20 | 1 | -2/+17 |
| | | | | | | | | | | | Errors found processing the DW_AT_ranges attribute are propagated by lower level routines and reported by their callers. Reviewer: JDevlieghere Differential Revision: https://reviews.llvm.org/D48344 llvm-svn: 335188 | ||||
* | [DWARF v5] Improved support for .debug_rnglists (consumer). Enables any ↵ | Wolfgang Pieb | 2018-05-18 | 1 | -0/+192 |
consumer to extract DWARF v5 encoded rangelists. Reviewer: JDevlieghere Differential Revision: https://reviews.llvm.org/D45549 llvm-svn: 332759 |