mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[Orc] Add missing capture to lambda.
llvm-svn: 258206
This commit is contained in:
parent
f1e3dd87e3
commit
0f7fb08594
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user