1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib/ExecutionEngine
Lang Hames 1ab714eeff [ORC] Add utilities to RTDyldObjectLinkingLayer2 to simplify symbol flag
management and materialization responsibility registration.

The setOverrideObjectFlagsWithResponsibilityFlags method instructs
RTDyldObjectlinkingLayer2 to override the symbol flags produced by RuntimeDyld with
the flags provided by the MaterializationResponsibility instance. This can be used
to enable symbol visibility (hidden/exported) for COFF object files, which do not
currently support the SF_Exported flag.

The setAutoClaimResponsibilityForObjectSymbols method instructs
RTDyldObjectLinkingLayer2 to claim responsibility for any symbols provided by a
given object file that were not already in the MaterializationResponsibility
instance. Setting this flag allows higher-level program representations (e.g.
LLVM IR) to be added based on only a subset of the symbols they provide, without
having to write intervening layers to scan and add the additional symbols. This
trades diagnostic quality for convenience however: If all symbols are enumerated
up-front then clashes can be detected and reported early. If this option is set,
clashes for the additional symbols may not be detected until late, and detection
may depend on the flow of control through JIT'd code.

llvm-svn: 341154
2018-08-31 00:53:17 +00:00
..
IntelJITEvents Remove trailing space 2018-07-30 19:41:25 +00:00
Interpreter Remove trailing space 2018-07-30 19:41:25 +00:00
MCJIT [MCJIT] Fix a case of Error::success() being passed to report_fatal_error. 2018-08-15 20:11:21 +00:00
OProfileJIT Add debug info for OProfile profiling support 2018-06-15 00:07:28 +00:00
Orc [ORC] Add utilities to RTDyldObjectLinkingLayer2 to simplify symbol flag 2018-08-31 00:53:17 +00:00
PerfJITEvents Add PerfJITEventListener for perf profiling support. 2018-07-24 00:54:06 +00:00
RuntimeDyld [ORC] Replace lookupFlags in JITSymbolResolver with getResponsibilitySet. 2018-08-28 21:18:05 +00:00
CMakeLists.txt Add PerfJITEventListener for perf profiling support. 2018-07-24 00:54:06 +00:00
ExecutionEngine.cpp Add handling for GlobalAliases in ExecutionEngine::getConstantValue. 2018-05-24 19:07:34 +00:00
ExecutionEngineBindings.cpp Remove trailing space 2018-07-30 19:41:25 +00:00
GDBRegistrationListener.cpp [C-API] Add functions to create GDB, Intel, Oprofile event listeners. 2018-05-24 21:32:54 +00:00
LLVMBuild.txt Add PerfJITEventListener for perf profiling support. 2018-07-24 00:54:06 +00:00
SectionMemoryManager.cpp Add missing vtable anchors 2018-04-11 23:09:20 +00:00
TargetSelect.cpp [TLS] use emulated TLS if the target supports only this mode 2018-02-28 17:48:55 +00:00