Displaying 2 results from an estimated 2 matches for "setallocategvswithcod".
Did you mean:
setallocategvswithcode
2011 Sep 09
3
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
...6.8, on a core i7 macbook pro.
I'm compiling from C++ using Clang, and passing the compiled module to an ExecutionEngine created as follows:
EE = llvm::EngineBuilder(globalModule)
.setEngineKind(llvm::EngineKind::JIT)
.setErrorStr(&err)
.setOptLevel(llvm::CodeGenOpt::Default)
.setAllocateGVsWithCode(false)
//.setMAttrs("-avx")
.setMCPU("core2")
.create();
EE->DisableLazyCompilation();
After passing in the compiled module, I call:
EE->runStaticConstructorsDestructors(module, false);
Then to test the tear-down of the module, I call:
EE->runStaticConstru...
2011 Sep 09
0
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
...ExecutionEngine created as follows:
>
> EE = llvm::EngineBuilder(globalModule)
> .setEngineKind(llvm::EngineKind::JIT)
> .setErrorStr(&err)
> .setOptLevel(llvm::CodeGenOpt::Default)
> .setAllocateGVsWithCode(false)
> //.setMAttrs("-avx")
> .setMCPU("core2")
> .create();
> EE->DisableLazyCompilation();
>
> After passing in the compiled module, I call:
>
> EE->runStaticConstructorsDestr...