1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/Object
Georgii Rymar e4864223fe [llvm-readobj] - Refactor how the code dumps relocations.
There is a strange "feature" of the code: it handles all relocations as `Elf_Rela`.
For handling `Elf_Rel` it converts them to `Elf_Rela` and passes `bool IsRela` to
specify the real type everywhere.

A related issue is that the
`decode_relrs` helper in lib/Object has to return `Expected<std::vector<Elf_Rela>>`
because of that, though it could return a vector of `Elf_Rel`.

I think we should just start using templates for relocation types, it makes the code
cleaner and shorter. This patch does it.

Differential revision: https://reviews.llvm.org/D83871
2020-07-20 12:05:05 +03:00
..
Archive.cpp
ArchiveWriter.cpp [Object] Change uint32_t getSymbolFlags() to Expected<uint32_t> getSymbolFlags(). 2020-04-18 21:27:57 +08:00
Binary.cpp
CMakeLists.txt
COFFImportFile.cpp
COFFModuleDefinition.cpp
COFFObjectFile.cpp Re-land "Migrate the rest of COFFObjectFile to Error" 2020-06-11 14:46:16 -07:00
Decompressor.cpp
ELF.cpp [llvm-readobj] - Refactor how the code dumps relocations. 2020-07-20 12:05:05 +03:00
ELFObjectFile.cpp
Error.cpp Error.h - GenericBinaryError - pass Twine arg by reference not value. 2020-06-27 10:12:20 +01:00
IRObjectFile.cpp [Object] Change uint32_t getSymbolFlags() to Expected<uint32_t> getSymbolFlags(). 2020-04-18 21:27:57 +08:00
IRSymtab.cpp Remove GlobalValue::getAlignment(). 2020-06-23 19:13:42 -07:00
LLVMBuild.txt
MachOObjectFile.cpp [Object] Change uint32_t getSymbolFlags() to Expected<uint32_t> getSymbolFlags(). 2020-04-18 21:27:57 +08:00
MachOUniversal.cpp
Minidump.cpp
ModuleSymbolTable.cpp [ThinLTO] Always parse module level inline asm with At&t dialect (PR46503) 2020-07-01 09:43:45 +02:00
Object.cpp
ObjectFile.cpp [Object] Change ObjectFile::getSymbolValue() return type to Expected<uint64_t> 2020-05-02 14:04:44 +08:00
RecordStreamer.cpp
RecordStreamer.h RecordStreamer.h - cleanup includes and forward declarations. NFC. 2020-04-22 15:07:18 +01:00
RelocationResolver.cpp [DebugInfo] Respect relocations when decoding DW_EH_PE_sdata4 & DW_EH_PE_sdata8 and support R_ARM_REL32 2020-07-18 09:00:50 -07:00
SymbolicFile.cpp
SymbolSize.cpp [Object] Change ObjectFile::getSymbolValue() return type to Expected<uint64_t> 2020-05-02 14:04:44 +08:00
TapiFile.cpp [llvm/Object] Reimplment basic_symbol_iterator in TapiFile 2020-06-12 00:03:32 -07:00
TapiUniversal.cpp [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
WasmObjectFile.cpp [WebAssembly] 64-bit (function) pointer fixes. 2020-07-16 14:10:22 -07:00
WindowsMachineFlag.cpp
WindowsResource.cpp
XCOFFObjectFile.cpp [XCOFF][AIX] report_fatal_error when an overflow section is needed 2020-06-08 19:59:04 +00:00