[llvm] r258206 - [Orc] Add missing capture to lambda.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 19 14:31:01 PST 2016
Author: lhames
Date: Tue Jan 19 16:31:01 2016
New Revision: 258206
URL: http://llvm.org/viewvc/llvm-project?rev=258206&view=rev
Log:
[Orc] Add missing capture to lambda.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h?rev=258206&r1=258205&r2=258206&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h Tue Jan 19 16:31:01 2016
@@ -135,7 +135,7 @@ private:
JITSymbol::GetAddressFtor getSymbolMaterializer(std::string Name) override {
return
- [this, Name]() {
+ [this, Name, &Finalized]() {
// The symbol may be materialized between the creation of this lambda
// and its execution, so we need to double check.
if (!Finalized)
More information about the llvm-commits
mailing list