mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
023dd287ea
Some targets (E.g. MachO/arm64) use relocations to fix some CFI record fields in the eh-frame section. When relocations are used the initial (pre-relocation) content of the eh-frame section can no longer be interpreted by following the eh-frame specification. This causes errors in the existing eh-frame parser. This patch moves eh-frame handling into two LinkGraph passes that are run after relocations have been parsed (but before they are applied). The first] pass breaks up blocks in the eh-frame section into per-CFI-record blocks, and the second parses blocks of (potentially multiple) CFI records and adds the appropriate edges to any CFI fields that do not have existing relocations. These passes can be run independently of one another. By handling eh-frame splitting/fixing with LinkGraph passes we can both re-use existing relocations for CFI record fields and avoid applying eh-frame fixups before parsing the section (which would complicate the linker and require extra temporary allocations of working memory). |
||
---|---|---|
.. | ||
Interpreter | ||
JITLink | ||
MCJIT | ||
OrcLazy | ||
OrcMCJIT | ||
RuntimeDyld | ||
2010-01-15-UndefValue.ll | ||
fma3-jit.ll | ||
frem.ll | ||
lit.local.cfg | ||
mov64zext32.ll | ||
test-interp-vec-arithm_float.ll | ||
test-interp-vec-arithm_int.ll | ||
test-interp-vec-cast.ll | ||
test-interp-vec-insertelement.ll | ||
test-interp-vec-insertextractvalue.ll | ||
test-interp-vec-loadstore.ll | ||
test-interp-vec-logical.ll | ||
test-interp-vec-select.ll | ||
test-interp-vec-setcond-fp.ll | ||
test-interp-vec-setcond-int.ll | ||
test-interp-vec-shift.ll | ||
test-interp-vec-shuffle.ll |