[PATCH] D154191: [LTO] Replace llvm::writeFileAtomically with llvm::writeToOutput API.
Haojian Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 30 01:43:50 PDT 2023
hokein added a comment.
This is a patch split out from https://reviews.llvm.org/D153740.
================
Comment at: llvm/lib/LTO/ThinLTOCodeGenerator.cpp:433
- if (E.Error ==
- llvm::atomic_write_error::failed_to_create_uniq_file) {
- errs() << "Error: " << ErrorMsgBuffer << "\n";
----------------
this is not a completely-none-functional change (in case of error), but I think it should be fine.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154191/new/
https://reviews.llvm.org/D154191
More information about the llvm-commits
mailing list