Add support for DW_FORM_GNU_[addr,str]_index
These are 2 new value currently in experimental status used when split debug info is enabled.
Note: This CL is part of a long series of CLs to add fission support to LLDB
Paths
| Differential D12238
Add support for DW_FORM_GNU_[addr,str]_index ClosedPublic Authored by tberghammer on Aug 21 2015, 7:04 AM.
Details Summary Add support for DW_FORM_GNU_[addr,str]_index These are 2 new value currently in experimental status used when split debug info is enabled. Note: This CL is part of a long series of CLs to add fission support to LLDB
Diff Detail Event Timelinetberghammer updated this object.
clayborg edited edge metadata. Comment ActionsLooks good, a few changes needed. We might consider changing FormValue::AsCString() to take a "SymbolFileDWARF*" instead of the data extractor for .debug_str and .debug_str_offsets. This way it would be only one parameter and it would clean up the code. It would help errors like on DWARFCompileUnit.cpp:729 and DWARFCompileUnit.cpp:745 where both were not passed. Other than that we might consider modifying FormValue::Address(...) as suggested in the inlined comments.
This revision now requires changes to proceed.Aug 21 2015, 9:47 AM tberghammer edited edge metadata. Comment ActionsChange DWARFFormValue::AsCString and related functions to take SymbolFileDWARF as an argument instead of DWARFDataExtractor
This revision is now accepted and ready to land.Aug 24 2015, 9:44 AM Closed by commit rL245931: Add support for DW_FORM_GNU_[addr,str]_index (authored by tberghammer). · Explain WhyAug 25 2015, 4:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 32949 include/lldb/lldb-enumerations.h
source/Expression/IRExecutionUnit.cpp
source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp
source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h
source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
source/Symbol/ClangASTContext.cpp
source/Symbol/ObjectFile.cpp
source/Utility/ConvertEnum.cpp
|
This will be completed by a later patch because fetching it require parts what will be only added later.