Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This is a patch split out from https://reviews.llvm.org/D153740.
llvm/lib/LTO/ThinLTOCodeGenerator.cpp | ||
---|---|---|
433 | this is not a completely-none-functional change (in case of error), but I think it should be fine. |
Comment Actions
This is generally fine. I don't see any error that should fall into consumeError condition that won't just error out anyway (like out of disk space, etc.) and I don't see those are special cased for code before switching to writeFileAtomically.
llvm/lib/LTO/ThinLTOCodeGenerator.cpp | ||
---|---|---|
419 | Nit: Since now we don't care about what kind of error returns, this handleErrors with no error handle does nothing. Just do: auto Err = llvm::writeToOutput() |
Nit: Since now we don't care about what kind of error returns, this handleErrors with no error handle does nothing. Just do: