Joel E. Denny
3dc7039f24
[lit] Fix shell commands with newlines ( #67898 )
...
In PR #65242 (landed as 9e739fdb85ac672f3e25e971d96e71823e07ebda), I
claimed that RUN lines cannot contain newlines. Actually, they can after
substitution expansion. More generally, a lit config file can define
substitutions or preamble commands containing newlines. While both of
those cases seem unlikely in practice,
[D154987](https://reviews.llvm.org/D154987 ) proposes PYTHON directives
where it seems very likely.
Regardless of the use case, without this patch, such newlines break
expansion of `%dbg(RUN: at line N)`, and the fix is simple.
2023-10-03 10:00:21 -04:00
..
2023-05-17 10:48:52 +02:00
2023-08-21 10:43:41 +01:00
2023-09-27 13:34:41 -07:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-09-22 10:26:09 +02:00
2023-10-02 20:52:06 +00:00
2023-03-07 12:41:56 +00:00
2023-05-17 10:48:52 +02:00
2023-10-03 10:00:21 -04:00
2023-08-01 11:00:27 -07:00
2023-05-17 10:48:52 +02:00
2023-05-11 09:28:57 -04:00
2023-05-17 10:48:52 +02:00
2023-09-28 16:37:24 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-09-27 13:39:30 -07:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-07-28 15:09:08 +02:00
2023-09-26 19:40:13 +01:00
2023-09-01 21:32:24 -07:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-08-21 09:48:12 -04:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-09-06 13:39:45 -07:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-08-24 20:26:12 +08:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00
2023-07-14 13:53:37 -07:00
2023-05-17 10:48:52 +02:00
2023-09-26 19:23:41 -04:00
2023-09-18 12:14:46 +01:00
2023-07-14 13:53:37 -07:00
2023-05-17 10:48:52 +02:00
2023-05-17 10:48:52 +02:00