Skip to content

Commit

Permalink
[llmv-pdbutil] Replace ExitOnError with explicit error handling.
Browse files Browse the repository at this point in the history
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
CarlosAlbertoEnciso committed Mar 21, 2022
1 parent 38e8880 commit afc2f02
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 142 deletions.

0 comments on commit afc2f02

Please sign in to comment.