Martin Storsjö
74cfcd1c69
aarch64/vvc: Fix DCE undefined references with MSVC
...
This fixes compiling with MSVC for aarch64 after
510999f6b0 .
While MSVC does do dead code elimintation for function references
within e.g. "if (0)", it doesn't do that for functions referenced
within a static function, even if that static function itself ends
up not used.
A reproduction example:
void missing(void);
void (*func_ptr)(void);
static void wrapper(void) {
missing();
}
void init(int cpu_flags) {
if (0) {
func_ptr = wrapper;
}
}
If "wrapper" is entirely unreferenced, then MSVC doesn't produce
any reference to the symbol "missing". Also, if we do
"func_ptr = missing;" then the reference to missing also is
eliminated. But for the case of referencing the function in a
static function, even if the reference to the static function can
be eliminated, then MSVC does keep the reference to the symbol.
2026-03-05 11:57:40 +02:00
..
2026-02-23 07:57:57 +01:00
2026-03-05 11:57:40 +02:00
2026-01-25 22:53:25 +01:00
2026-03-03 09:05:45 -03:00
2026-02-18 13:57:28 +00:00
2026-01-25 22:53:25 +01:00
2026-01-25 22:53:25 +01:00
2026-02-17 20:17:23 -03:00
2026-01-25 22:53:25 +01:00
2026-02-25 12:08:33 +01:00
2026-02-22 03:39:23 +01:00
2026-02-25 12:08:33 +01:00
2026-03-01 12:04:14 +01:00
2026-02-11 12:07:35 +01:00
2026-02-23 07:57:57 +01:00
2026-02-14 20:14:47 +01:00
2026-01-23 14:40:52 +01:00
2026-03-03 01:10:09 +01:00
2026-02-12 10:34:19 +01:00
2026-02-11 12:07:35 +01:00
2026-01-07 17:32:06 +01:00
2026-01-19 15:36:37 +00:00
2026-01-19 15:36:37 +00:00
2026-01-19 15:36:37 +00:00
2026-01-19 15:36:37 +00:00
2026-02-26 11:40:09 +08:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2025-12-18 01:24:35 +00:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-03-03 13:52:58 -03:00
2026-02-12 09:59:54 -03:00
2026-02-28 16:14:40 -03:00
2026-02-15 20:09:54 +01:00
2026-02-11 12:07:35 +01:00
2026-01-10 18:56:26 +00:00
2025-12-24 12:21:39 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-02-28 16:12:33 -03:00
2026-02-28 16:12:33 -03:00
2026-02-28 16:12:33 -03:00
2026-02-28 16:12:33 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-02-28 16:12:33 -03:00
2026-02-18 23:45:28 +00:00
2026-02-18 23:45:28 +00:00
2026-02-18 23:45:28 +00:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-02-25 08:47:14 +00:00
2026-03-04 14:25:00 +00:00
2026-02-25 08:47:14 +00:00
2026-02-25 08:47:14 +00:00
2026-02-25 08:47:14 +00:00
2026-02-05 18:12:46 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-01-07 13:14:11 +00:00
2026-01-07 13:14:11 +00:00
2026-02-12 11:06:33 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-02-05 16:29:08 +01:00
2026-03-02 12:01:15 +01:00
2026-02-17 20:17:23 -03:00
2026-03-03 13:07:46 +01:00
2026-03-03 13:07:46 +01:00
2026-02-14 18:52:43 +00:00
2026-03-03 00:35:35 +01:00
2026-02-11 12:07:35 +01:00
2026-02-19 19:42:34 +01:00
2026-02-19 19:42:34 +01:00
2026-02-19 19:42:31 +01:00
2026-02-19 19:42:34 +01:00
2026-02-19 19:42:30 +01:00
2026-02-10 19:44:46 +01:00
2026-02-23 22:59:44 +01:00
2026-01-12 14:03:25 +01:00
2025-12-23 14:34:13 +00:00
2026-02-20 11:59:37 +01:00
2026-03-02 18:41:13 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-25 22:53:25 +01:00
2026-01-25 22:53:25 +01:00
2026-01-25 22:53:25 +01:00
2026-03-02 17:51:45 +01:00
2026-03-03 13:07:46 +01:00
2026-01-25 22:53:25 +01:00
2026-01-25 22:53:25 +01:00
2026-02-28 16:12:33 -03:00
2026-02-26 11:40:09 +08:00
2026-02-11 12:07:35 +01:00
2026-02-23 23:28:09 +01:00
2026-03-04 22:31:19 +00:00
2026-03-04 22:31:19 +00:00
2026-03-01 12:04:14 +01:00
2026-03-01 11:58:16 +01:00
2026-03-01 11:58:16 +01:00
2026-02-11 12:07:35 +01:00
2026-02-23 23:58:11 +01:00
2026-02-23 23:50:49 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-03-03 00:35:21 +01:00
2026-03-02 18:12:40 +01:00
2026-02-20 16:32:10 +01:00
2026-02-20 16:32:10 +01:00
2026-02-20 16:32:10 +01:00
2025-12-30 17:30:45 +00:00
2025-12-16 10:38:56 -03:00
2026-02-28 16:12:33 -03:00
2026-01-11 17:59:15 -03:00
2025-12-28 15:31:13 -03:00
2025-12-22 07:05:58 +01:00
2026-02-11 12:07:38 +01:00
2025-12-28 15:32:57 -03:00
2026-02-17 20:17:23 -03:00
2025-12-24 02:43:50 +00:00
2026-02-12 09:59:54 -03:00
2026-01-29 14:08:15 +01:00
2026-02-17 20:17:23 -03:00
2026-02-12 09:59:54 -03:00
2026-02-17 20:17:23 -03:00
2026-02-25 16:43:53 +01:00
2026-02-21 22:43:41 +00:00
2026-02-18 23:38:16 +00:00
2026-02-17 20:17:23 -03:00
2026-02-15 20:28:31 +01:00
2026-02-15 20:28:31 +01:00
2026-01-25 13:09:30 +08:00
2026-02-05 16:29:08 +01:00
2026-02-11 12:07:35 +01:00
2026-02-28 16:12:33 -03:00
2025-12-19 19:56:13 +02:00
2026-02-23 22:54:38 +01:00
2026-02-11 12:07:35 +01:00
2026-01-17 12:02:31 -03:00
2026-02-11 12:07:35 +01:00
2025-12-30 17:30:45 +00:00
2026-02-20 16:32:10 +01:00
2026-02-23 23:52:37 +01:00
2026-02-20 16:32:10 +01:00
2026-01-22 17:44:46 -03:00
2026-01-20 00:38:35 +00:00
2026-01-25 22:46:39 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-03-03 13:07:46 +01:00
2026-03-04 10:40:12 +00:00
2026-03-03 00:47:21 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-02-13 09:21:33 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-02-20 16:32:10 +01:00
2026-02-11 12:07:35 +01:00
2026-01-05 13:30:38 +00:00
2026-02-17 16:36:51 +00:00
2026-01-27 12:58:46 +00:00
2026-01-27 12:58:46 +00:00
2026-01-19 20:47:22 +00:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-01-10 22:47:22 +01:00
2026-01-10 22:47:22 +01:00
2026-02-04 12:05:35 +08:00
2026-02-04 12:05:35 +08:00
2026-01-11 00:47:17 +00:00
2026-02-14 18:53:08 +00:00
2026-02-11 20:35:20 +00:00
2026-02-03 18:17:32 +00:00
2026-02-11 12:07:35 +01:00
2025-12-31 08:06:48 +00:00
2026-02-11 12:07:35 +01:00
2026-02-09 17:36:40 +00:00
2026-02-13 09:21:33 +01:00
2026-02-19 22:39:35 +00:00
2026-01-20 09:47:47 +00:00
2026-02-11 12:07:31 +01:00
2026-02-11 12:07:35 +01:00
2026-03-02 19:01:46 +01:00
2026-02-22 22:05:16 +01:00
2026-03-02 19:01:46 +01:00
2026-03-05 01:23:40 +01:00
2026-01-25 22:53:25 +01:00
2026-02-11 12:07:35 +01:00
2026-02-23 23:26:20 +01:00
2026-02-11 12:07:35 +01:00
2026-01-02 18:39:48 +01:00
2026-01-17 17:56:06 -03:00
2026-03-02 12:01:15 +01:00
2026-02-11 12:07:35 +01:00
2026-03-03 02:41:05 +01:00
2026-03-03 02:13:58 +00:00
2026-01-21 10:42:02 +00:00
2026-01-19 16:37:16 +01:00
2026-02-19 19:42:31 +01:00
2025-12-31 15:00:46 +01:00
2026-02-19 19:42:34 +01:00
2026-02-19 19:42:31 +01:00
2026-02-19 19:42:26 +01:00
2025-12-30 14:39:08 -05:00
2025-12-30 14:39:08 -05:00
2026-02-23 15:29:27 +00:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00