Martin Storsjö
7e2afe83e8
[Windows] Don't try to wildcard expand paths starting with \\?\
...
Paths that start with `\\?\` are absolute paths, and aren't expected
to be used with wildcard expressions.
Previously, the `?` at the start of the path triggered the condition
for a potential wildcard, which caused the path to be split and
reassembled. In builds with `LLVM_WINDOWS_PREFER_FORWARD_SLASH=ON`,
this caused a path like e.g. `\\?\D:\tmp\hello.cpp` to be reassembled
into `\\?\D:\tmp/hello.cpp` which isn't a valid path (as such
absolute paths must use backslashes consistently).
This fixes https://github.com/mstorsjo/llvm-mingw/issues/280 .
I'm not sure if there's any straightforward way to add a test
for this case, unfortunately.
Differential Revision: https://reviews.llvm.org/D126675
2022-06-01 11:25:49 +03:00
..
2022-04-08 18:53:23 -04:00
2022-05-18 18:22:46 -07:00
2022-06-01 11:25:49 +03:00
2022-04-11 13:42:24 +00:00
2022-04-26 12:00:43 +03:00
2022-05-19 11:23:13 +01:00
2021-10-09 10:12:10 +08:00
2022-05-19 11:23:13 +01:00
2022-04-28 10:48:26 +01:00
2021-12-01 11:05:29 +00:00
2022-01-03 12:40:43 +00:00
2022-05-18 21:33:08 +03:00
2022-01-26 11:16:15 +01:00
2021-09-16 19:14:52 -04:00
2021-09-16 19:14:52 -04:00
2022-05-26 08:12:34 +02:00
2022-01-21 13:54:49 +01:00
2021-06-05 21:14:43 +01:00
2022-01-20 19:27:15 +00:00
2022-04-26 12:00:43 +03:00
2022-02-06 22:18:35 -08:00
2022-05-03 11:57:50 +01:00
2022-03-14 11:38:04 -07:00
2022-03-23 08:13:17 -04:00
2022-04-27 00:52:53 +00:00
2022-02-28 11:35:07 +08:00
2022-02-28 11:35:07 +08:00
2022-05-23 10:44:55 +08:00
2022-01-21 13:54:49 +01:00
2022-01-21 13:54:49 +01:00
2022-04-03 08:14:11 -07:00
2021-07-16 07:38:16 +00:00
2021-10-23 08:45:29 -07:00
2022-02-06 22:18:35 -08:00
2022-01-07 00:39:14 -08:00
2022-03-11 11:41:32 +01:00
2022-01-21 13:54:49 +01:00
2022-03-11 11:41:32 +01:00
2021-11-12 21:19:09 -08:00
2022-05-30 19:44:06 +01:00
2021-08-11 02:48:53 +00:00
2022-01-21 13:54:49 +01:00
2022-04-22 20:06:01 +03:00
2022-02-04 18:03:42 +01:00
2022-02-06 17:19:23 +00:00
2022-01-21 14:59:30 +01:00
2022-05-17 14:06:59 +08:00
2022-01-21 14:28:47 +01:00
2022-02-07 07:49:30 -08:00
2022-05-17 09:11:45 -07:00
2022-05-17 09:38:13 +02:00
2021-09-23 13:09:32 -04:00
2022-01-13 09:16:25 -08:00
2022-03-11 11:41:32 +01:00
2022-04-05 21:38:06 -07:00
2022-01-25 19:40:00 +01:00
2022-03-11 11:41:32 +01:00
2022-03-14 17:29:08 +01:00
2022-01-21 13:54:49 +01:00
2021-09-28 00:56:11 +03:00
2022-02-06 16:26:00 +00:00
2021-07-21 15:47:18 -04:00
2022-05-27 10:19:55 +01:00
2022-03-11 11:41:32 +01:00
2022-01-21 14:18:29 +01:00
2021-07-28 09:31:14 -07:00
2022-03-11 11:41:32 +01:00
2021-07-16 07:38:16 +00:00
2022-01-28 11:50:49 +01:00
2022-02-03 19:59:27 -05:00
2022-04-19 09:55:21 +02:00
2021-12-02 09:27:47 -08:00
2022-01-26 16:55:53 +01:00
2021-07-16 07:38:16 +00:00
2022-05-12 12:56:29 -07:00
2022-01-21 13:54:49 +01:00
2022-04-05 21:38:06 -07:00
2022-04-05 21:38:06 -07:00
2022-03-19 20:31:04 +00:00
2022-04-05 12:18:31 -07:00
2022-01-21 13:54:49 +01:00
2022-01-21 13:54:49 +01:00
2022-03-03 16:14:03 -08:00
2022-02-06 22:18:35 -08:00
2021-12-10 08:53:14 -08:00
2021-12-02 09:27:47 -08:00
2022-03-23 10:09:59 +08:00
2022-01-24 14:13:21 +01:00
2022-01-21 13:54:49 +01:00
2022-04-29 12:27:17 -04:00
2021-07-09 10:39:52 +01:00
2022-05-04 08:12:45 +02:00
2022-01-24 14:13:21 +01:00
2021-11-06 19:31:18 -07:00
2022-01-21 13:54:49 +01:00
2022-02-02 16:29:47 +00:00
2022-05-23 14:24:00 +01:00
2021-07-20 13:29:57 -07:00
2022-01-21 13:54:49 +01:00
2022-01-31 12:03:00 -08:00
2022-04-11 14:52:48 -07:00
2022-02-28 20:30:06 -08:00
2022-01-26 16:55:53 +01:00
2022-03-11 11:41:32 +01:00
2022-04-03 08:04:11 -07:00
2022-01-26 11:20:18 +01:00
2022-03-11 16:09:25 +01:00