1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/DebugInfo/DWARF
George Rimar 0f9fc74c0e Recommit r303978 "[DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC"
With fix of test compilation.

Initial commit message:

This change is intended to use for LLD in D33183. 
Problem we have in LLD when building .gdb_index is that we need to know section 
which address range belongs to.

Previously it was solved on LLD side by providing fake section addresses
with use of llvm::LoadedObjectInfo interface. We assigned file offsets as addressed.
Then after obtaining ranges lists, for each range we had to find section ID's.
That not only was slow, but also complicated implementation and was the reason 
of incorrect behavior when
sections share the same offsets, like D33176 shows.

This patch makes DWARF parsers to return section index as well. 
That solves problem mentioned above.

Differential revision: https://reviews.llvm.org/D33184

llvm-svn: 303983
2017-05-26 13:13:50 +00:00
..
CMakeLists.txt Create DWARFVerifier.cpp and .h and move all DWARF verification code over into it. 2017-05-03 16:02:29 +00:00
DWARFAbbreviationDeclaration.cpp [DWARFv5] Update definitions to match published spec. 2017-03-06 22:20:03 +00:00
DWARFAcceleratorTable.cpp [DWARF] - Refactoring: localize handling of relocations in a single place. 2017-04-21 09:12:18 +00:00
DWARFCompileUnit.cpp [DWARFv5] Emit new unit header format. 2017-02-28 20:24:55 +00:00
DWARFContext.cpp Recommit r303978 "[DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC" 2017-05-26 13:13:50 +00:00
DWARFDebugAbbrev.cpp [DebugInfo] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-27 23:43:14 +00:00
DWARFDebugAranges.cpp [DWARF] - Use DWARFAddressRange struct instead of uint64_t pair for DWARFAddressRangesVector. 2017-05-16 12:30:59 +00:00
DWARFDebugArangeSet.cpp [DebugInfo] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-27 23:43:14 +00:00
DWARFDebugFrame.cpp [DebugInfo] Fix some Include What You Use warnings; other minor fixes (NFC). 2017-03-01 01:14:23 +00:00
DWARFDebugInfoEntry.cpp [DebugInfo] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-27 23:43:14 +00:00
DWARFDebugLine.cpp Add line table verification to lldb-dwarfdump --verify 2017-05-02 22:48:52 +00:00
DWARFDebugLoc.cpp [DWARF] - Refactoring: localize handling of relocations in a single place. 2017-04-21 09:12:18 +00:00
DWARFDebugMacro.cpp [DebugInfo] Fix some Include What You Use warnings; other minor fixes (NFC). 2017-03-01 01:14:23 +00:00
DWARFDebugPubTable.cpp [DWARF] - Fix mistype in dump output of pub* tables. NFC. 2017-04-28 08:54:10 +00:00
DWARFDebugRangeList.cpp Recommit r303978 "[DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC" 2017-05-26 13:13:50 +00:00
DWARFDie.cpp Recommit r303978 "[DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC" 2017-05-26 13:13:50 +00:00
DWARFFormValue.cpp Recommit r303978 "[DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC" 2017-05-26 13:13:50 +00:00
DWARFGdbIndex.cpp [llvm-dwarfdump] - Change format for .gdb_index dump. 2017-04-27 10:00:13 +00:00
DWARFTypeUnit.cpp [DWARF] Fix a parsing issue with type unit headers. 2017-05-09 19:38:38 +00:00
DWARFUnit.cpp libDebugInfo: Support symbolizing using DWP files 2017-05-23 06:48:53 +00:00
DWARFUnitIndex.cpp [DebugInfo] Fix some Include What You Use warnings; other minor fixes (NFC). 2017-03-01 01:14:23 +00:00
DWARFVerifier.cpp Revert "[Dwarf] Disable reference verification for now (PR32972)" 2017-05-09 13:05:43 +00:00
LLVMBuild.txt
SyntaxHighlighting.cpp [DebugInfo] Fix some Include What You Use warnings; other minor fixes (NFC). 2017-03-01 01:14:23 +00:00
SyntaxHighlighting.h [DebugInfo] Fix some Include What You Use warnings; other minor fixes (NFC). 2017-03-01 01:14:23 +00:00