llvm-6502/include/llvm/ExecutionEngine
Lang Hames e65664e90d [Orc] Fix a bug in the LazyEmittingLayer - capture names by value (as
std::strings) rather than StringRefs in JITSymbol get-address lambda.

Capturing a StringRef by-value is still effectively capturing a reference, which
is no good here because the referenced string may be gone by the time the lambda
is being evaluated the original value may be gone. Make sure to capture a
std::string instead.

No test case: This bug doesn't manifest under OrcMCJITReplacement, since it
keeps IR modules (from which the StringRefs are sourced) alive permanently.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228676 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-10 07:35:39 +00:00
..
Orc [Orc] Fix a bug in the LazyEmittingLayer - capture names by value (as 2015-02-10 07:35:39 +00:00
ExecutionEngine.h [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
GenericValue.h
Interpreter.h
JITEventListener.h [MCJIT] Replace JITEventListener::anchor (temporarily removed in r222861), and 2014-11-27 01:41:16 +00:00
MCJIT.h
ObjectCache.h
ObjectMemoryBuffer.h [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
OProfileWrapper.h
OrcMCJITReplacement.h [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
RTDyldMemoryManager.h [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
RuntimeDyld.h [RuntimeDyld] Track symbol visibility in RuntimeDyld. 2015-01-16 23:13:56 +00:00
RuntimeDyldChecker.h [RuntimeDyld] Add 'stub_addr' to comment describing RuntimeDyldChecker's syntax. 2015-01-16 20:31:38 +00:00
SectionMemoryManager.h