diff --git a/llvm/lib/ExecutionEngine/Orc/OrcCBindingsStack.h b/llvm/lib/ExecutionEngine/Orc/OrcCBindingsStack.h index 98129e1690d2..21b65bdd66db 100644 --- a/llvm/lib/ExecutionEngine/Orc/OrcCBindingsStack.h +++ b/llvm/lib/ExecutionEngine/Orc/OrcCBindingsStack.h @@ -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; }