This adds an option to save temporary files generated during link-time optimization. This can be useful for debugging.
Details
Diff Detail
- Build Status
Buildable 3754 Build 3754: arc lint + arc unit
Event Timeline
Can you add a test?
COFF/Driver.cpp | ||
---|---|---|
620–623 | You want to move this code outside of this for loop because this loop is for /opt. Handle this just like /implib. |
COFF/Driver.cpp | ||
---|---|---|
620–623 | I'll be happy to do that. I actually put it under /opt on purpose so as not to conflict with any other options we might want to add in the future. I suppose the "lld" prefix guards against that well enough. |
- Made /lldsavetemps a top-level option instead of nesting it under /opt.
- Also save object files.
- Added test.
COFF/LTO.cpp | ||
---|---|---|
61 | We do. I'm also working on a patch to make the error limit configurable. |
You want to move this code outside of this for loop because this loop is for /opt. Handle this just like /implib.