Commit 9b98d42
authored
Remove __cxa_thread_atexit stubs (emscripten-core#15531)
Back in emscripten-core#14489 we started using the implemenation of
`__cxa_thread_atexit` from libcxxabi so this is stub should never be
needed.
This change also involves renaming the test from `.c` to `.cpp` since
C programs don't generally have access to `__cxa_thread_atexit` (its
part of libcxxabi).
I also removed the call to `__cxa_thread_atexit_impl` since we don't
define that anywhere in emscripten.
Also run this tests with threads enabled which would have resulted
in an undefined reference to `__cxa_thread_atexit_impl` previously.1 parent bb615a9 commit 9b98d42
4 files changed
Lines changed: 10 additions & 9 deletions
File tree
- src
- tests
- core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
23 | 23 | | |
24 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2385 | 2385 | | |
2386 | 2386 | | |
2387 | 2387 | | |
2388 | | - | |
| 2388 | + | |
2389 | 2389 | | |
2390 | 2390 | | |
2391 | | - | |
| 2391 | + | |
| 2392 | + | |
| 2393 | + | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
2392 | 2397 | | |
2393 | 2398 | | |
2394 | 2399 | | |
| |||
0 commit comments