Fangrui Song
5c29ffda90
Revert "[Driver][test] Replace ^//$ with empty string"
...
This reverts commit 4817b7729a .
It caused some `^/\n` and had some objection about its readability improvement.
2022-06-24 13:52:27 -07:00
Fangrui Song
4817b7729a
[Driver][test] Replace ^//$ with empty string
...
The convention does not add //\n. Having all RUN/CHECK lines separated by //\n
makes editor movement difficult (e.g. { } in Vim).
2022-06-24 11:25:03 -07:00
Francis Visoiu Mistrih
9e6670b03c
[Driver] Only pass LTO remark arguments if the driver asks for it
...
Previous fix missed a check to willEmitRemarks, causing remarks to
always be enabled for LTO.
2020-04-07 14:11:47 -07:00
Francis Visoiu Mistrih
ba8b3052b5
[Driver] Handle all optimization-record options for Darwin LTO
...
clang with -flto does not handle -foptimization-record-path=<path>
This dulicates the code from ToolChains/Clang.cpp with modifications to
support everything in the same fashion.
2020-04-03 15:30:08 -07:00