1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/lib/Object
George Rimar 796506e01d [DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC
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: 304002
2017-05-26 16:26:18 +00:00
..
Archive.cpp [Object] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-04-19 23:02:10 +00:00
ArchiveWriter.cpp ArchiveWriter: Remove unused variables. NFC. 2017-03-16 20:35:07 +00:00
Binary.cpp Add functionality to cvtres to parse all entries in res file. 2017-05-20 01:49:19 +00:00
CMakeLists.txt COFF: migrate def parser from LLD to LLVM [1/2] 2017-05-20 19:56:29 +00:00
COFFImportFile.cpp COFF: Fix single StringRef return error 2017-05-20 21:00:36 +00:00
COFFModuleDefinition.cpp COFF: Fix another StringRef return error 2017-05-20 21:54:15 +00:00
COFFObjectFile.cpp [DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC 2017-05-26 16:26:18 +00:00
Decompressor.cpp [lib/Object] - Minor API update for llvm::Decompressor. 2017-05-18 08:00:01 +00:00
ELF.cpp Add llvm::object::getELFSectionTypeName(). 2017-05-02 14:04:52 +00:00
ELFObjectFile.cpp [Object] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-04-24 23:21:38 +00:00
Error.cpp Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
IRObjectFile.cpp [ThinLTO] Import composite types as declarations 2016-12-16 21:25:01 +00:00
IRSymtab.cpp LTO: Mark undefined module asm symbols as used. 2017-04-26 17:53:39 +00:00
LLVMBuild.txt
MachOObjectFile.cpp [DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC 2017-05-26 16:26:18 +00:00
MachOUniversal.cpp Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
ModuleSymbolTable.cpp [Object] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-04-24 23:21:38 +00:00
Object.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
ObjectFile.cpp [Object] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-04-19 23:02:10 +00:00
RecordStreamer.cpp [Object] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-04-24 23:21:38 +00:00
RecordStreamer.h [Object] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-04-24 23:21:38 +00:00
SymbolicFile.cpp [Object] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-04-19 23:02:10 +00:00
SymbolSize.cpp Fix llvm-symbolizer to correctly sort a symbol array and calculate symbol sizes 2016-11-15 21:07:03 +00:00
WasmObjectFile.cpp [DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC 2017-05-26 16:26:18 +00:00
WindowsResource.cpp Fix -Wunneeded-internal-declaration by removing constant arrays only used in sizeof expressions, in favor of constants containing the size directly 2017-05-20 03:32:51 +00:00