Kyle Evans
2606a58bc0
compiler-rt: sanitizer_common: use close_range() instead of looping ( #114442 )
...
_SC_OPEN_MAX is quite high on FreeBSD, which makes this close() loop a
quite obvious problem when attempting to do any kind of debugging in a
process that uses StartSubprocess. Switch to using close_range(2)
instead to close them all in a single syscall and dramatically reduce
the runtime and syscall trace noise
Linux has an equivalent syscall, but I do not have the capacity to test
that it works there, so this is limited to SANITIZER_FREEBSD for the
time being.
2024-10-31 19:20:46 -07:00
..
2023-06-09 11:30:41 +02:00
2024-07-10 19:39:47 -07:00
2024-10-31 21:08:22 +00:00
2024-10-11 16:58:42 -07:00
2024-07-01 18:59:24 -07:00
2022-01-07 15:11:00 +01:00
2023-05-24 16:10:45 -07:00
2024-09-15 17:14:08 -07:00
2024-07-12 13:41:01 +02:00
2023-04-05 19:11:16 +00:00
2024-07-15 16:12:42 -07:00
2024-07-18 18:14:54 -07:00
2022-06-07 16:46:01 -07:00
2023-06-21 13:50:42 -07:00
2023-05-24 16:22:36 -07:00
2024-10-24 14:09:05 -07:00
2023-06-21 13:50:42 -07:00
2023-06-13 08:52:56 -07:00
2024-03-13 09:01:00 +01:00
2024-04-17 08:42:41 -07:00
2024-04-17 08:42:41 -07:00
2024-07-15 16:12:42 -07:00
2024-06-06 14:48:23 -07:00
2023-12-23 16:23:55 -08:00
2023-12-23 16:23:55 -08:00
2023-08-28 14:37:35 +08:00
2022-03-04 15:39:30 -08:00
2023-06-06 16:10:45 +02:00
2023-05-25 12:01:09 +02:00
2023-05-25 12:01:09 +02:00
2023-05-25 12:01:09 +02:00
2023-05-25 12:01:09 +02:00
2023-05-25 12:01:09 +02:00
2023-05-25 12:01:09 +02:00
2024-10-25 09:42:01 -07:00
2023-09-26 15:41:57 -07:00
2024-10-15 13:26:39 +02:00
2024-10-17 17:27:57 -07:00
2024-09-18 16:19:35 -07:00
2024-09-30 13:41:20 +02:00
2024-07-12 13:41:01 +02:00
2024-10-17 17:27:57 -07:00
2023-11-14 16:39:04 -08:00
2022-07-14 20:26:41 -07:00
2024-07-18 18:14:54 -07:00
2024-09-09 13:41:08 -07:00
2024-08-07 22:02:32 -07:00
2023-11-09 21:00:33 +00:00
2023-11-09 12:53:06 -08:00
2024-09-22 19:05:20 +02:00
2024-09-22 19:05:20 +02:00
2022-05-24 12:59:27 -07:00
2024-07-13 10:31:03 +02:00
2023-08-22 11:12:54 -07:00
2023-08-29 20:00:24 +00:00
2023-08-29 20:00:24 +00:00
2023-08-28 23:12:37 +00:00
2024-01-11 12:23:33 +00:00
2023-12-26 11:21:06 -08:00
2024-10-22 22:44:35 -07:00
2024-02-25 21:10:01 +00:00
2024-01-24 21:17:45 -08:00
2023-03-05 17:46:42 +00:00
2024-10-15 13:26:39 +02:00
2024-09-10 17:02:15 -07:00
2023-09-15 10:03:22 -07:00
2023-09-15 10:03:22 -07:00
2024-09-16 15:12:46 +01:00
2024-09-16 15:12:46 +01:00
2024-09-25 14:24:01 -07:00
2023-11-27 14:17:03 -08:00
2024-10-31 19:20:46 -07:00
2024-10-10 20:56:25 -07:00
2022-05-24 12:59:27 -07:00
2024-09-18 16:19:35 -07:00
2022-07-22 13:29:28 -07:00
2023-11-29 11:00:17 -08:00
2023-09-15 17:06:20 -07:00
2024-03-08 21:58:32 -08:00
2022-05-24 12:59:27 -07:00
2024-03-08 21:22:57 -08:00
2024-10-31 07:52:20 -07:00
2024-03-01 07:26:47 +00:00
2024-03-01 07:26:47 +00:00
2022-07-20 00:58:40 -07:00
2023-03-05 17:46:42 +00:00
2023-03-05 17:46:42 +00:00
2024-09-30 13:41:20 +02:00
2024-10-25 09:42:01 -07:00
2022-01-05 13:20:40 +01:00
2022-03-09 14:57:05 -08:00
2024-07-18 18:02:50 +08:00
2024-10-31 19:20:46 -07:00
2024-09-23 06:55:14 -07:00
2024-10-31 19:20:46 -07:00
2024-03-26 08:45:12 +09:00
2024-07-22 06:26:08 +01:00
2024-03-13 09:25:43 +00:00
2024-09-26 00:22:14 -07:00
2024-10-14 20:02:26 +01:00
2023-04-19 11:47:43 +02:00
2024-07-25 17:38:44 -07:00
2023-06-22 10:28:27 -07:00
2023-06-12 15:36:27 -07:00
2023-06-12 15:36:27 -07:00
2024-09-07 15:46:17 -05:00
2023-11-08 01:23:55 -08:00
2023-07-13 16:28:25 +02:00
2022-07-21 09:18:10 +02:00
2023-12-20 17:58:03 -08:00
2022-01-07 15:11:00 +01:00
2023-12-23 16:23:55 -08:00
2023-12-22 23:38:01 -08:00
2023-12-26 11:21:06 -08:00
2024-02-06 09:18:06 +08:00
2024-07-22 06:26:08 +01:00
2024-03-21 15:04:19 -07:00
2024-08-03 22:19:44 +02:00
2022-07-21 11:32:21 +08:00
2023-03-27 09:50:17 -07:00
2024-10-10 21:01:07 -07:00
2023-06-28 10:40:07 +02:00
2024-07-18 18:14:54 -07:00
2022-01-15 12:06:38 -05:00
2024-05-15 08:58:14 +02:00
2023-09-26 15:41:57 -07:00
2023-09-09 13:58:10 -07:00
2023-12-04 10:28:41 -08:00
2024-09-02 09:31:51 +02:00
2022-05-24 12:59:27 -07:00
2024-04-25 17:00:26 +02:00
2023-12-04 10:28:41 -08:00
2024-04-25 17:00:26 +02:00
2023-12-04 10:28:41 -08:00
2023-12-20 15:38:43 -08:00
2023-11-14 16:39:04 -08:00
2024-09-24 09:33:17 +02:00
2024-08-11 19:01:12 -04:00
2023-08-15 13:43:00 -07:00
2024-09-04 23:00:13 -07:00
2022-06-08 17:22:01 -04:00
2022-11-11 21:24:07 +08:00
2022-01-05 13:20:40 +01:00
2024-01-11 12:23:33 +00:00
2024-01-11 12:23:33 +00:00
2024-10-11 16:58:42 -07:00
2024-10-11 16:58:42 -07:00
2024-10-11 14:47:01 -07:00
2024-10-11 14:47:01 -07:00
2022-01-07 15:11:00 +01:00
2024-09-21 13:05:51 -07:00
2024-09-12 00:50:54 -07:00
2022-12-13 16:38:12 -08:00
2023-11-14 16:39:04 -08:00
2023-08-03 16:06:59 +02:00
2024-08-08 13:51:07 +03:00
2022-07-07 10:33:08 -07:00
2024-09-09 13:41:08 -07:00
2024-09-19 10:45:45 -07:00
2024-09-19 10:45:45 -07:00
2024-09-19 10:45:45 -07:00
2024-09-11 23:26:22 -07:00
2024-10-17 16:59:49 -07:00
2024-09-12 13:38:53 -07:00