Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid warnings caused by ignoring [[nodiscard]] return type
Since LLVM 14, llvm::InstrProfWriter::write returns an llvm::Error rather than void. Propagate potential errors back to the caller to avoid triggering warnings
- Loading branch information