1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/unittests/ExecutionEngine
Tomas Matheson 79405b0d62 [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
..
JITLink [JITLink] Suppress expect-death test in release mode. 2021-05-24 22:57:10 -07:00
MCJIT mac/arm: XFAIL the last 2 failing check-llvm tests 2020-12-12 20:12:02 -05:00
Orc [MC][ELF] Emit unique sections for different flags 2021-05-26 11:51:29 +01:00
CMakeLists.txt
ExecutionEngineTest.cpp