Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[llmv-pdbutil] Replace ExitOnError with explicit error handling.
At Sony we are developing llvm-dva https://lists.llvm.org/pipermail/llvm-dev/2020-August/144174.html For its PDB support, it requires functionality already present in llvm-pdbutil. We intend to move that functionaly into the PDB library to be shared by both tools. That change will be done in 2 steps, that will be submitted as 2 patches: (1) Replace 'ExitOnError' with explicit error handling. (2) Move the intended shared code to the PDB library. This patch is for step (1). As 'ExitOnError' is intended to be used only in tool code, replace all occurrences in the code that will be moved to the PDB library with explicit error handling. Reviewed By: aganea, dblaikie, rnk Differential Revision: https://reviews.llvm.org/D121801
- Loading branch information