Displaying 2 results from an estimated 2 matches for "mimpl".
Did you mean:
impl
2011 Sep 09
3
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
...tMAttrs("-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->runStaticConstructorsDestructors(mImpl->module, true);
EE->clearGlobalMappingsFromModule(mImpl->module);
EE->removeModule(mImpl->module);
The C++ code compiled:
#include <stdio.h>
class Foo {
public:
Foo() { printf("Foo\n"); };
~Foo() { printf("~Foo\n"); };
int x;
};
// a static variabl...
2011 Sep 09
0
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
... .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->runStaticConstructorsDestructors(mImpl->module, true);
> EE->clearGlobalMappingsFromModule(mImpl->module);
> EE->removeModule(mImpl->module);
>
>
>
> The C++ code compiled:
>
> #include <stdio.h>
> class Foo {
> public:
> Foo() { printf("Foo\n"); };
> ~Foo(...