Displaying 3 results from an estimated 3 matches for "cxa_atexit".
2011 Sep 09
0
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
...nEngine->runStaticConstructorsDestructors(module, true) to actually trigger static destructors in my code. The static constructors however do get called.
>
> I don't know if this is an LLVM or Clang issue, from looking at the IR (see below) it looks like the destructor is being tied to cxa_atexit, and I wonder if that is not called by runStaticConstructorsDestructors(module, true);
>
> Thanks in advance for any suggestions you can offer!
Yes, that would do it... if you really need to be able to trigger
static destructors for C++ objects before calling exit(), you'll need
to mess...
2011 Sep 09
3
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
...ExecutionEngine->runStaticConstructorsDestructors(module, true) to actually trigger static destructors in my code. The static constructors however do get called.
I don't know if this is an LLVM or Clang issue, from looking at the IR (see below) it looks like the destructor is being tied to cxa_atexit, and I wonder if that is not called by runStaticConstructorsDestructors(module, true);
Thanks in advance for any suggestions you can offer!
Graham
Using LLVM/Clang 2.9 release for OSX, on OSX 10.6.8, on a core i7 macbook pro.
I'm compiling from C++ using Clang, and passing the compiled mod...
2015 Nov 17
12
3.7.1-rc1 has been tagged. Let's begin testing!
Hi,
I have just tagged 3.7.1-rc1, so it is ready for testing. As a
reminder, when doing regression testing, use the 3.7.0 release
as your baseline.
Thanks,
Tom