Issue |
90988
|
Summary |
arm-eabi (and arm-linux-gnueabi) use __cxa_atexit while the ABI specifies __aeabi_atexit
|
Labels |
new issue
|
Assignees |
|
Reporter |
pinskia
|
I noticed this while adding DCEing support of atexit to GCC and the testcases were failing on arm-linux-gnueabi.
Simple testcase:
```
struct A {
A();
~A();
} a;
```
You will see at -O2:
```
b __cxa_atexit
```
While GCC produces:
```
b __aeabi_atexit
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs