mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
79405b0d62
Global values imply flags such as readable, writable, executable for the sections that they will be placed in. Currently MC places all such entries into the same section, using the first set of flags seen. This can lead to situations in LTO where a writable global is placed in the same named section as a readable global from another file, and the section may not be marked writable. D72194 ensures that mergeable globals with explicit sections are placed in separate sections with compatible entry size, by emitting the `unique` assembly syntax where appropriate. This change extends that approach to include section flags, so that globals with different section flags are emitted in separate unique sections. Differential revision: https://reviews.llvm.org/D100944 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CoreAPIsTest.cpp | ||
IndirectionUtilsTest.cpp | ||
JITTargetMachineBuilderTest.cpp | ||
LazyCallThroughAndReexportsTest.cpp | ||
ObjectLinkingLayerTest.cpp | ||
OrcCAPITest.cpp | ||
OrcTestCommon.cpp | ||
OrcTestCommon.h | ||
QueueChannel.cpp | ||
QueueChannel.h | ||
ResourceTrackerTest.cpp | ||
RPCUtilsTest.cpp | ||
RTDyldObjectLinkingLayerTest.cpp | ||
SymbolStringPoolTest.cpp | ||
ThreadSafeModuleTest.cpp |