llvm-project/llvm/unittests/ExecutionEngine/Orc
Tomas Matheson 165321b3d2 [MC][ELF] Emit unique sections for different flags
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
2021-05-26 11:51:29 +01:00
..
CMakeLists.txt [ORC] Add JITLink dependence for ObjectLinkingLayerTest. 2021-05-13 22:48:30 -07:00
CoreAPIsTest.cpp [ORC] Add more synchronization to TestLookupWithUnthreadedMaterialization. 2021-05-22 07:59:24 -07:00
IndirectionUtilsTest.cpp
JITTargetMachineBuilderTest.cpp
LazyCallThroughAndReexportsTest.cpp Re-apply "[ORC] Make MaterializationResponsibility immovable..." with fixes. 2020-09-11 14:09:05 -07:00
ObjectLinkingLayerTest.cpp [ORC] Add support for adding LinkGraphs directly to ObjectLinkingLayer. 2021-05-13 21:44:13 -07:00
OrcCAPITest.cpp [ORC][C-bindings] Replace LLVMOrcJITTargetMachineBuilderDisposeTargetTriple. 2021-05-21 17:38:06 -07:00
OrcTestCommon.cpp
OrcTestCommon.h [ORC] Remove the OrcExecutionTest class. It is no longer used. 2021-05-13 18:32:36 -07:00
QueueChannel.cpp
QueueChannel.h [ORC] Move Orc RPC code into Shared, rename some RPC types. 2020-12-30 12:48:20 +11:00
RPCUtilsTest.cpp [RGT] RPCUtilsTest, replace un-executed EXPECT with unreachable 2021-03-17 07:37:21 -07:00
RTDyldObjectLinkingLayerTest.cpp [MC][ELF] Emit unique sections for different flags 2021-05-26 11:51:29 +01:00
ResourceTrackerTest.cpp [Orc] Fix a file header (NFC) 2021-03-02 15:07:34 +01:00
SymbolStringPoolTest.cpp
ThreadSafeModuleTest.cpp