[llvm] r366485 - [ORC] Suppress an ORCv1 deprecation warning.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 12:55:42 PDT 2019


Author: lhames
Date: Thu Jul 18 12:55:42 2019
New Revision: 366485

URL: http://llvm.org/viewvc/llvm-project?rev=366485&view=rev
Log:
[ORC] Suppress an ORCv1 deprecation warning.

Modified:
    llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h

Modified: llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h?rev=366485&r1=366484&r2=366485&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h (original)
+++ llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h Thu Jul 18 12:55:42 2019
@@ -316,7 +316,8 @@ public:
     if (auto Err = CtorRunner.runViaLayer(*this))
       return std::move(Err);
 
-    IRStaticDestructorRunners.emplace_back(std::move(DtorNames), K);
+    IRStaticDestructorRunners.emplace_back(AcknowledgeORCv1Deprecation,
+                                           std::move(DtorNames), K);
 
     return K;
   }




More information about the llvm-commits mailing list