Recently few test failed to detect regression because of files created on the
previews run.
Details
- Reviewers
• espindola
Diff Detail
- Build Status
Buildable 13216 Build 13216: arc lint + arc unit
Event Timeline
lld/COFF/LTO.cpp | ||
---|---|---|
150 | No tests as I don't know how to reproduce this for LLD. |
llvm/test/ThinLTO/X86/delete-unused-temps.ll | ||
---|---|---|
9 | I'm not sure I understand what is going on - why are there fewer files after the -thinlto-distributed-indexes invocation than without? |
llvm/test/ThinLTO/X86/delete-unused-temps.ll | ||
---|---|---|
9 | not 100% sure without debugging, but I think it's because LTO::getMaxTasks() in both cases returns 2, so LTO client expects 2 streams. But with -thinlto-distributed-indexes nothing is written into the last stream as module is empty, and nothing deletes corresponding file from a previous runs. |
I probably wouldn't do this. It seems a little better to change the tests to rm -f the expected files beforehand rather than have the tests rely on code to work properly.
No tests as I don't know how to reproduce this for LLD.
In other LTO invocation it can be triggered with -thinlto-distributed-indexes