If error occurs on constructing coverage info for one of the object files, it prints the name of the object file, so that users know which one is the cause of error.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h | ||
---|---|---|
606 ↗ | (On Diff #446237) | Is the signature change needed? llvm::createFileError() creates a FileError, which should fit into an Expected. Maybe we just need to call that in the place that creates the error? |
Comment Actions
Use llvm::createFileError
llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h | ||
---|---|---|
606 ↗ | (On Diff #446237) | Thanks, I didn't know this before. |