Julian Lettner
22570bac69
Lower @llvm.global_dtors using __cxa_atexit on MachO
...
For MachO, lower `@llvm.global_dtors` into `@llvm_global_ctors` with
`__cxa_atexit` calls to avoid emitting the deprecated `__mod_term_func`.
Reuse the existing `WebAssemblyLowerGlobalDtors.cpp` to accomplish this.
Enable fallback to the old behavior via Clang driver flag
(`-fregister-global-dtors-with-atexit`) or llc / code generation flag
(`-lower-global-dtors-via-cxa-atexit`). This escape hatch will be
removed in the future.
Differential Revision: https://reviews.llvm.org/D121736
2022-03-17 10:47:13 -07:00
..
2022-02-11 22:51:56 +05:30
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-04 15:57:53 -05:00
2022-03-01 21:00:07 +01:00
2022-03-14 10:16:28 -07:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-17 10:47:13 -07:00
2022-03-06 18:34:25 -05:00
2022-03-02 07:17:48 -08:00
2021-11-02 18:13:23 -07:00
2022-03-10 16:02:12 +01:00
2021-12-21 15:54:09 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2021-10-31 07:57:32 -07:00
2021-12-15 14:40:56 -08:00
2022-03-01 21:00:07 +01:00
2022-02-22 10:02:37 +01:00
2021-11-23 13:22:55 -05:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-02 09:56:20 -08:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-01-06 08:51:50 -08:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-02-10 16:14:52 -08:00
2022-03-17 10:47:13 -07:00
2022-03-01 21:00:07 +01:00
2022-02-16 16:31:55 +01:00
2022-03-08 15:49:55 -08:00
2022-01-26 16:55:53 +01:00
2022-03-01 21:00:07 +01:00
2022-02-02 06:54:20 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-16 10:39:28 +01:00
2022-03-09 10:01:38 -08:00
2022-03-08 12:35:15 -08:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-03 13:08:13 +00:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2021-10-20 10:29:47 -07:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-17 10:47:13 -07:00
2022-01-17 17:17:32 +00:00
2022-02-02 06:54:20 +01:00