Otherwise ld.lld -save-temps will crash when writing to ResolutionFile.
llvm-lto2 -save-temps does not crash because it exits immediately.
Differential D75426
[LTO] onfig::addSaveTemps: clear ResolutionFile upon an error MaskRay on Mar 1 2020, 12:11 PM. Authored by
Details Otherwise ld.lld -save-temps will crash when writing to ResolutionFile. llvm-lto2 -save-temps does not crash because it exits immediately.
Diff Detail
Event Timeline
|
The chmod is an issue when the test is run on a server without root access. Do you have an suggestion how to make it work? Thanks.