1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/tools/llvm-readobj
Zachary Turner a26ddca533 [CodeView] Properly align symbol records on read/write.
Object files have symbol records not aligned to any particular
boundary (e.g. 1-byte aligned), while PDB files have symbol
records padded to 4-byte aligned boundaries.  Since they share
the same reading / writing code, we have to provide an option to
specify the alignment and propagate it up to the producer or
consumer who knows what the alignment is supposed to be for the
given container type.

Added a test for this by modifying the existing PDB -> YAML -> PDB
round-tripping code to round trip symbol records as well as types.

Differential Revision: https://reviews.llvm.org/D33785

llvm-svn: 304484
2017-06-01 21:52:41 +00:00
..
ARMEHABIPrinter.h [ELF] Convert ELF.h to Expected<T>. 2016-11-16 05:10:28 +00:00
ARMWinEHPrinter.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
ARMWinEHPrinter.h Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00
CMakeLists.txt [pdb] Add the ability to resolve TypeServer PDBs. 2017-02-16 23:35:45 +00:00
COFFDumper.cpp [CodeView] Properly align symbol records on read/write. 2017-06-01 21:52:41 +00:00
COFFImportDumper.cpp llvm-readobj: Dump more info for COFF import libraries. 2015-08-28 10:27:50 +00:00
ELFDumper.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-05-31 01:33:39 +00:00
Error.cpp Remove LLVM_NOEXCEPT and replace it with noexcept 2016-10-19 23:52:38 +00:00
Error.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
llvm-readobj.cpp [llvm-readobj] Improve errors on invalid binary 2017-05-10 14:18:11 +00:00
llvm-readobj.h [llvm-readobj] Update readobj to re-use parsing code. 2017-05-03 17:11:11 +00:00
LLVMBuild.txt [pdb] Add the ability to resolve TypeServer PDBs. 2017-02-16 23:35:45 +00:00
MachODumper.cpp Add LC_BUILD_VERSION load command 2017-01-23 20:07:55 +00:00
ObjDumper.cpp Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00
ObjDumper.h [llvm-readobj] Dump COFF Resources section. 2017-04-27 19:38:38 +00:00
StackMapPrinter.h [Stackmap] Added callsite counts to emitted function information. 2016-09-14 20:22:03 +00:00
WasmDumper.cpp [WebAssembly] Write initial memory in pages not bytes 2017-04-28 21:12:09 +00:00
Win64EHDumper.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
Win64EHDumper.h Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00