diff options
| author | George Rimar <grimar@accesssoftek.com> | 2018-11-02 09:03:25 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2018-11-02 09:03:25 +0000 |
| commit | 5497f6580e6e6a80cae07eac768f6217dcb3b3ab (patch) | |
| tree | e20809f5b4c2a7776ba0cf5e35e5f154bcfdbfe6 /lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp | |
| parent | 15da7684db33fe15ad8b2589573d2bfce556f6b7 (diff) | |
| download | bcm5719-llvm-5497f6580e6e6a80cae07eac768f6217dcb3b3ab.tar.gz bcm5719-llvm-5497f6580e6e6a80cae07eac768f6217dcb3b3ab.zip | |
[LLDB] - Add support for DW_FORM_rnglistx and relative DW_RLE_* entries.
This adds support for DW_RLE_base_addressx, DW_RLE_startx_endx,
DW_RLE_startx_length, DW_FORM_rnglistx.
Differential revision: https://reviews.llvm.org/D53929
llvm-svn: 345958
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp index 271f44f24b9..7236a0599e6 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp @@ -309,6 +309,8 @@ void DWARFUnit::ExtractDIEsEndCheck(lldb::offset_t offset) const { void DWARFUnit::AddUnitDIE(const DWARFDebugInfoEntry &cu_die) { SetAddrBase( cu_die.GetAttributeValueAsUnsigned(m_dwarf, this, DW_AT_addr_base, 0)); + SetRangesBase(cu_die.GetAttributeValueAsUnsigned(m_dwarf, this, + DW_AT_rnglists_base, 0)); uint64_t base_addr = cu_die.GetAttributeValueAsAddress( m_dwarf, this, DW_AT_low_pc, LLDB_INVALID_ADDRESS); |

