[llvm] [llvm-profdata] Use simple enum for error checking in Sample Profile Reader (PR #67453)

David Li via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 10:08:42 PST 2023


https://github.com/david-xl approved this pull request.

ErrorOr/std:error_code are  expensive to construct, so should be limited to error path only. LGTM

https://github.com/llvm/llvm-project/pull/67453


More information about the llvm-commits mailing list