1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test
Martin Storsjo 9d872b4a9a [llvm-objcopy] [COFF] Fix handling of aux symbols for big objects
The aux symbols were stored in an opaque std::vector<uint8_t>,
with contents interpreted according to the rest of the symbol.

All aux symbol types but one fit in 18 bytes (sizeof(coff_symbol16)),
and if written to a bigobj, two extra padding bytes are written (as
sizeof(coff_symbol32) is 20). In the storage agnostic intermediate
representation, store the aux symbols as a series of coff_symbol16
sized opaque blobs. (In practice, all such aux symbols only consist
of one aux symbol, so this is more flexible than what reality needs.)

The special case is the file aux symbols, which are written in
potentially more than one aux symbol slot, without any padding,
as one single long string. This can't be stored in the same opaque
vector of fixed sized aux symbol entries. The file aux symbols will
occupy a different number of aux symbol slots depending on the type
of output object file. As nothing in the intermediate process needs
to have accurate raw symbol indices, updating that is moved into the
writer class.

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

llvm-svn: 351947
2019-01-23 11:54:51 +00:00
..
Analysis [CostModel][X86] Add ICMP Predicate specific costs 2019-01-22 12:29:38 +00:00
Assembler Reapply "IR: Add fp operations to atomicrmw" 2019-01-22 18:18:02 +00:00
Bindings
Bitcode Reapply "IR: Add fp operations to atomicrmw" 2019-01-22 18:18:02 +00:00
BugPoint
CodeGen [SystemZ] Fix test case for buildbot. 2019-01-23 10:29:12 +00:00
DebugInfo [CodeView] Allow empty types in member functions 2019-01-23 00:53:22 +00:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck [FileCheck] Suppress old -v/-vv diags if dumping input 2019-01-22 21:41:42 +00:00
Instrumentation hwasan: Move memory access checks into small outlined functions on aarch64. 2019-01-23 02:20:10 +00:00
Integer
JitListener
Linker
LTO
MC [X86][AVX512F_SCALAR]: Adding full coverage of MC encoding for the AVX512F_SCALAR isa sets. NFC 2019-01-22 20:48:24 +00:00
Object
ObjectYAML
Other
SafepointIRVerifier
SymbolRewriter
TableGen
ThinLTO/X86
tools [llvm-objcopy] [COFF] Fix handling of aux symbols for big objects 2019-01-23 11:54:51 +00:00
Transforms [IRCE] Support narrow latch condition for wide range checks 2019-01-23 07:20:56 +00:00
Unit
Verifier GlobalISel: Disallow vectors for G_CONSTANT/G_FCONSTANT 2019-01-22 18:53:41 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh