Lukas Döllerer
965c3d760d
[lld][WebAssembly] Fix SEGFAULT when importing wrapped symbol ( #169656 )
...
When wrapping a symbol `foo` via `-wrap=foo`, we create the symbol
`__wrap_foo` that replaces all mentions of `foo`. This feature was
implemented for wasm-ld in commit a5ca34e.
So far, no valid signature has been attached to the undefined symbol,
leading to a nullptr dereference in the logic for creating the import
section. This change adds the correct signature to the wrapped symbol,
enabling the generation of an import for it.
2025-11-27 19:21:09 +00:00
..
2025-10-22 19:14:37 +08:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2024-09-04 08:50:10 -07:00
2025-09-29 15:45:48 -07:00
2024-08-19 21:51:40 -07:00
2024-01-19 16:20:29 -08:00
2025-10-06 16:30:40 -07:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2024-10-15 02:41:43 +09:00
2025-11-08 00:27:06 +00:00
2023-07-22 09:37:22 -07:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-10-22 19:14:37 +08:00
2023-07-22 09:37:22 -07:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2024-07-16 13:14:30 -07:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2024-12-02 17:08:07 -08:00
2024-07-02 11:23:15 -07:00
2023-10-23 10:08:08 -07:00
2025-11-08 00:27:06 +00:00
2025-03-04 09:39:30 -08:00
2024-12-02 17:08:07 -08:00
2025-11-08 00:27:06 +00:00
2025-08-27 01:16:53 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2024-02-07 11:51:19 -08:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-09-26 17:16:45 -07:00
2024-07-12 13:26:52 -07:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-08-19 09:46:10 -07:00
2025-11-08 00:27:06 +00:00
2025-09-03 09:12:12 -07:00
2025-02-28 11:12:52 -08:00
2025-11-03 14:42:05 -08:00
2023-07-22 09:37:22 -07:00
2024-07-12 13:26:52 -07:00
2025-01-28 16:06:01 -08:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2024-07-12 13:26:52 -07:00
2024-09-30 17:17:58 -07:00
2025-02-10 10:35:44 -08:00
2024-07-12 13:26:52 -07:00
2024-06-21 15:56:02 -07:00
2024-07-12 13:26:52 -07:00
2025-11-08 00:27:06 +00:00
2024-01-22 10:04:26 -08:00
2025-11-08 00:27:06 +00:00
2024-09-11 11:22:46 -07:00
2023-11-02 14:23:45 -07:00
2024-06-20 09:48:25 -07:00
2024-06-20 09:48:25 -07:00
2025-11-08 00:27:06 +00:00
2025-09-19 10:11:15 -07:00
2024-11-04 16:12:57 -08:00
2025-11-08 00:27:06 +00:00
2024-09-30 17:17:58 -07:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2024-09-30 17:17:58 -07:00
2025-11-08 00:27:06 +00:00
2024-07-12 13:26:52 -07:00
2024-07-12 13:26:52 -07:00
2025-11-08 00:27:06 +00:00
2024-07-12 13:26:52 -07:00
2024-09-24 11:14:07 -07:00
2024-09-24 11:14:07 -07:00
2024-10-22 10:47:57 -07:00
2025-09-29 15:45:48 -07:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-08 00:27:06 +00:00
2025-11-27 19:21:09 +00:00