Alexander Aprelev
61c3fbc220
[vm/build/ubsan/win] Fix ubsan build on Windows
...
- copy sanitizer runtime when using ubsan;
- avoid use of winnt.h CONTAINING_RECORD since it triggers ubsan "member access within null-pointer of type" error, use our copy which uses `offsetof`;
- have default virtual destructor in `ValueObject` to avoid ubsan complains about "insufficient space for an object of type 'dart:ValueObject'" at NoTemporaryAllocator use/declaration site;
- have virtual destructor in ZoneAllocated to avoid ubsan complains about "not having enough space to allocate object" at new RegExpEmpty() instantiation site;
- avoid using crashpad with ubsan as it causes dartvm to exit with error code 3;
- switch to windows, mac-friendly `[[gnu::no_sanitize(check)]]` from `__GNUC__` and `__has_feature` checks.
TEST=ci
Bug: https://github.com/dart-lang/sdk/issues/62267
Change-Id: I8b922a8da329af276d4cefaa88fb841cc0457124
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/469840
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Alexander Aprelev <aam@google.com >
2026-01-07 12:38:27 -08:00
..
2026-01-05 08:01:26 -08:00
2023-10-11 18:41:57 +00:00
2023-04-12 01:11:05 +00:00
2025-11-19 07:54:19 -08:00
2025-11-25 11:59:21 -08:00
2025-10-01 11:28:05 -07:00
2025-04-15 09:07:59 -07:00
2023-04-12 01:11:05 +00:00
2025-10-01 11:28:05 -07:00
2025-10-14 13:15:21 -07:00
2025-11-13 09:50:34 -08:00
2025-09-15 01:41:38 -07:00
2024-04-17 19:14:41 +00:00
2023-04-12 20:32:29 +00:00
2025-11-25 11:59:21 -08:00
2025-10-08 08:16:42 -07:00
2025-10-08 08:16:42 -07:00
2023-04-12 01:11:05 +00:00
2025-11-21 06:42:16 -08:00
2025-10-14 13:15:21 -07:00
2025-10-14 13:15:21 -07:00
2024-11-08 04:36:23 +00:00
2025-09-08 04:03:49 -07:00
2025-07-24 14:48:03 -07:00
2025-12-01 11:28:58 -08:00
2025-10-14 13:15:21 -07:00
2025-11-13 09:50:34 -08:00
2025-07-24 14:48:03 -07:00
2025-06-24 05:59:21 -07:00
2025-02-03 12:55:53 -08:00
2025-09-02 14:27:50 -07:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-08-15 17:51:10 +00:00
2024-01-11 23:54:59 +00:00
2024-03-12 08:29:36 +00:00
2025-06-11 04:43:24 -07:00
2025-04-01 09:50:12 -07:00
2025-01-24 03:21:22 -08:00
2023-07-14 01:31:38 +00:00
2023-04-12 20:32:29 +00:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-05-05 13:07:38 -07:00
2024-08-06 12:26:19 +00:00
2024-09-24 22:41:40 +00:00
2024-08-06 12:26:19 +00:00
2023-01-25 14:08:27 +00:00
2026-01-07 12:38:27 -08:00
2025-10-29 05:25:24 -07:00
2025-10-01 11:28:05 -07:00
2024-08-06 12:26:19 +00:00
2024-06-06 19:10:19 +00:00
2024-06-06 19:10:19 +00:00
2025-05-05 13:07:38 -07:00
2025-04-01 09:50:12 -07:00
2025-07-10 18:28:01 -07:00
2025-07-10 18:28:01 -07:00
2025-10-01 11:28:05 -07:00
2025-10-01 11:28:05 -07:00
2025-10-08 02:25:17 -07:00
2025-10-01 11:28:05 -07:00
2025-10-01 11:28:05 -07:00
2025-10-01 11:28:05 -07:00
2024-04-17 19:14:41 +00:00
2025-12-16 09:22:52 -08:00
2024-08-15 17:51:10 +00:00
2024-07-30 18:08:46 +00:00
2025-04-01 09:50:12 -07:00
2024-08-20 18:13:33 +00:00
2024-08-20 18:13:33 +00:00
2025-11-19 07:45:52 -08:00
2023-04-12 01:11:05 +00:00
2024-09-30 10:23:45 +00:00
2024-07-17 16:47:50 +00:00
2024-07-17 16:47:50 +00:00
2024-02-09 14:10:49 +00:00
2024-02-09 14:10:49 +00:00
2023-04-18 20:56:00 +00:00
2024-02-09 14:10:49 +00:00
2025-10-01 11:28:05 -07:00
2025-10-01 11:28:05 -07:00
2025-07-07 09:34:35 -07:00
2025-07-07 09:34:35 -07:00
2025-06-30 14:23:13 -07:00
2025-06-30 14:23:13 -07:00
2025-11-21 06:42:16 -08:00
2025-11-21 06:42:16 -08:00
2025-04-15 09:07:59 -07:00
2025-11-21 06:42:16 -08:00
2025-01-23 04:19:48 -08:00
2025-06-11 04:43:24 -07:00
2025-06-03 05:56:59 -07:00
2025-11-21 06:42:16 -08:00
2025-08-01 11:11:18 -07:00
2025-11-21 06:42:16 -08:00
2025-06-03 05:56:59 -07:00
2025-06-03 05:56:59 -07:00
2024-04-17 19:14:41 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-03-12 08:29:36 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2025-11-24 12:38:30 -08:00
2024-06-12 16:45:19 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2023-09-05 22:15:58 +00:00
2024-02-09 14:10:49 +00:00
2025-08-01 11:11:18 -07:00
2025-06-11 12:32:39 -07:00
2023-04-12 01:11:05 +00:00
2025-07-24 14:48:03 -07:00
2025-09-02 14:27:50 -07:00
2025-07-24 14:48:03 -07:00
2025-07-24 14:48:03 -07:00
2023-04-12 01:11:05 +00:00
2025-12-17 03:20:11 -08:00
2025-11-25 11:59:21 -08:00
2025-01-16 09:15:01 -08:00
2025-10-01 09:41:26 -07:00
2023-04-12 01:11:05 +00:00
2023-10-31 17:11:51 +00:00
2025-10-14 13:15:21 -07:00
2025-10-14 13:15:21 -07:00
2025-06-24 12:17:24 -07:00
2024-07-01 21:00:00 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-01-31 19:24:29 +00:00
2025-06-24 12:17:24 -07:00
2025-06-24 12:17:24 -07:00
2026-01-05 13:06:49 -08:00
2025-06-24 12:17:24 -07:00
2025-10-14 13:15:21 -07:00
2025-06-24 12:17:24 -07:00
2025-05-27 06:30:20 -07:00
2025-11-24 12:38:30 -08:00
2025-06-24 05:59:21 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 07:25:33 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-03-31 14:31:47 -07:00
2025-03-31 14:31:47 -07:00
2025-10-14 13:15:21 -07:00
2023-04-12 01:11:05 +00:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-01-26 22:08:37 +00:00
2024-06-26 11:10:06 +00:00
2025-06-26 07:47:32 -07:00
2025-06-26 07:47:32 -07:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-04-17 19:14:41 +00:00
2025-11-25 11:59:21 -08:00
2025-07-24 14:48:03 -07:00
2023-04-12 01:11:05 +00:00
2025-02-28 02:24:38 -08:00
2025-12-15 15:45:21 -08:00
2023-04-12 01:11:05 +00:00
2025-10-14 13:15:21 -07:00
2024-12-20 09:00:17 -08:00