OSDN Git Service

[Orc] 'this' qualify more lambda-captured members.
authorLang Hames <lhames@gmail.com>
Wed, 20 Jan 2016 05:10:59 +0000 (05:10 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 20 Jan 2016 05:10:59 +0000 (05:10 +0000)
More workaround attempts for GCC ICEs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258288 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h

index c77e648..85dfa84 100644 (file)
@@ -125,7 +125,7 @@ private:
 
       PFC->Finalizer(PFC->Handle, RTDyld, std::move(PFC->Objects),
                      [&]() {
-                       updateSymbolTable(RTDyld);
+                       this->updateSymbolTable(RTDyld);
                        this->Finalized = true;
                      });
 
@@ -139,8 +139,8 @@ private:
           // The symbol may be materialized between the creation of this lambda
           // and its execution, so we need to double check.
           if (!this->Finalized)
-            finalize();
-          return getSymbol(Name, false).getAddress();
+            this->finalize();
+          return this->getSymbol(Name, false).getAddress();
         };
     }
 
@@ -254,7 +254,7 @@ public:
       LoadedObjInfoList LoadedObjInfos;
 
       for (auto &Obj : Objs)
-        LoadedObjInfos.push_back(RTDyld.loadObject(getObject(*Obj)));
+        LoadedObjInfos.push_back(RTDyld.loadObject(this->getObject(*Obj)));
 
       LOSHandleLoad();