1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/include/llvm/ExecutionEngine
Lang Hames 2134d2b597 [ORC] Add a runAsMain utility function to ExecutionUtils.
The runAsMain function takes a pointer to a function with a standard C main
signature, int(*)(int, char*[]), and invokes it using the given arguments and
program name. The arguments are copied into writable temporary storage as
required by the C and C++ specifications, so runAsMain safe to use when calling
main functions that modify their arguments in-place.

This patch also uses the new runAsMain function to replace hand-rolled versions
in lli, llvm-jitlink, and the SpeculativeJIT example.
2019-12-02 01:52:52 -08:00
..
JITLink [ORC][JITLink] Add support for weak references, and improve handling of static 2019-11-28 13:30:49 -08:00
Orc [ORC] Add a runAsMain utility function to ExecutionUtils. 2019-12-02 01:52:52 -08:00
ExecutionEngine.h [ORC] Add deprecation warnings to ORCv1 layers and utilities. 2019-07-17 16:40:52 +00:00
GenericValue.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Interpreter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JITEventListener.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JITSymbol.h [ExecutionEngine] Add a jitTargetAddressToFunction utility function. 2019-12-02 01:52:52 -08:00
MCJIT.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ObjectCache.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OProfileWrapper.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OrcMCJITReplacement.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OrcV1Deprecation.h [ORC] Add deprecation warnings to ORCv1 layers and utilities. 2019-07-17 16:40:52 +00:00
RTDyldMemoryManager.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RuntimeDyld.h [Orc] Address the remaining move-capture FIXMEs 2019-09-13 11:35:33 +00:00
RuntimeDyldChecker.h [JITLink] Add a test for zero-filled content. 2019-05-12 22:26:33 +00:00
SectionMemoryManager.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00