This adds an option to save temporary files generated during link-time optimization. This can be useful for debugging.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Can you add a test?
COFF/Driver.cpp | ||
---|---|---|
619–622 ↗ | (On Diff #87038) | 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 | ||
---|---|---|
619–622 ↗ | (On Diff #87038) | 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. |
Comment Actions
- Made /lldsavetemps a top-level option instead of nesting it under /opt.
- Also save object files.
- Added test.
COFF/LTO.cpp | ||
---|---|---|
61 ↗ | (On Diff #87527) | We do. I'm also working on a patch to make the error limit configurable. |