This patch adds an option named --thinlto-cache-dir, which specifies the
path to a directory in which to cache native object files for ThinLTO
incremental builds.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I can make a guess, but can you explain what this is for? (and add that to the code as comments?)
Comment Actions
The logic looks good. I'll let Rui review the style.
lld/ELF/LTO.cpp | ||
---|---|---|
174–175 ↗ | (On Diff #90227) | explicit type, maybe? |
Comment Actions
We should llvm/cmake/modules/HandleLLVMOptions.cmake to add this by default when LLVM_ENABLE_LTO=Thin to match Darwin.