Commit 6d32d4fc authored by Jaikrishnan Menon's avatar Jaikrishnan Menon

CPU: Disable __cxa_atexit usage for calling destructors

and remove need for the dso_handle symbol
parent cf3bae10
......@@ -154,6 +154,7 @@ std::unique_ptr<llvm::Module> execution_state::compile(const string& source, con
CGO.OmitLeafFramePointer = 1;
CGO.VectorizeLoop = 1;
CGO.VectorizeSLP = 1;
CGO.CXAAtExit = 0;
if (debuginfo_enabled)
{
......
......@@ -225,7 +225,6 @@ using namespace ngraph::element;
using namespace ngraph::runtime;
using namespace ngraph::runtime::cpu::eigen;
void *__dso_handle = 0;
extern "C" void __entrypoint(ngraph::runtime::cpu::CallFrame* call_frame,
ngraph::runtime::TensorViewPtrs& tensor_views,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment