[Orc] Add missing capture to lambda.

llvm-svn: 258206
This commit is contained in:
Lang Hames 2016-01-19 22:31:01 +00:00
parent e74653b67a
commit 97ce2bcefe
1 changed files with 1 additions and 1 deletions

View File

@ -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)