]> granicus.if.org Git - llvm/commitdiff
[ORC] Suppress an ORCv1 deprecation warning.
authorLang Hames <lhames@gmail.com>
Thu, 18 Jul 2019 19:55:42 +0000 (19:55 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 18 Jul 2019 19:55:42 +0000 (19:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366485 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Orc/OrcCBindingsStack.h

index 98129e1690d2749aaeb75ad7800aa34f19568c88..21b65bdd66db017810e648ff2891d11d57b5b680 100644 (file)
@@ -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;
   }