1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/ExecutionEngine
Lang Hames 7ccf288bc5 [Orc] Fix member variable ordering issue in OrcMCJITReplacement.
https://reviews.llvm.org/D36888

From that review description:

When an OrcMCJITReplacement object gets destructed, LazyEmitLayer may still
contain a shared_ptr of a module, which requires ShouldDelete in the deleter.
But ShouldDelete gets destructed before LazyEmitLayer due to the order of
declaration in OrcMCJITReplacement, which leads to a crash, when the destructor
of LazyEmitLayer is executed.  Changing the order of declaration fixes this.

Patch by Moritz Kroll. Thanks Moritz!

llvm-svn: 312086
2017-08-30 00:47:42 +00:00
..
IntelJITEvents Remove some leftover DWARFContextInMemory. 2017-07-19 23:34:59 +00:00
Interpreter Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
MCJIT [ORC] Errorize the ORC APIs. 2017-07-07 02:59:13 +00:00
OProfileJIT Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Orc [Orc] Fix member variable ordering issue in OrcMCJITReplacement. 2017-08-30 00:47:42 +00:00
RuntimeDyld [RuntimeDyld][ORC] Add support for Thumb mode to RuntimeDyldMachOARM. 2017-08-09 20:19:27 +00:00
CMakeLists.txt [cmake] Expose the dependencies of ExecutionEngine as PUBLIC 2017-08-11 13:25:20 +00:00
ExecutionEngine.cpp Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
ExecutionEngineBindings.cpp Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
GDBRegistrationListener.cpp Do a sweep over move ctors and remove those that are identical to the default. 2016-10-20 12:20:28 +00:00
LLVMBuild.txt add missing dependency for ExecutionEngine lib 2015-06-01 21:56:56 +00:00
SectionMemoryManager.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
TargetSelect.cpp Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00