[Orc] Revert r228567 (GCC ICE workaround) - it doesn't seem to have helped.
[oota-llvm.git] / include / llvm / ExecutionEngine / Orc / ObjectLinkingLayer.h
index 127dfc91c016ed0bcc2adf9970fafc4bc0262832..3c742ff3421f8ac273a29406f7daa3422a2f6db0 100644 (file)
@@ -221,7 +221,7 @@ public:
                          bool ExportedSymbolsOnly) {
     if (auto Addr = H->getSymbolAddress(Name, ExportedSymbolsOnly))
       return JITSymbol(
-        [=](){
+        [this, Addr, H](){
           if (H->NeedsFinalization()) {
             H->Finalize();
             if (this->NotifyFinalized)