HomePhabricator

[llvm-reduce] Fix a bug, improve error handling when running test

Description

[llvm-reduce] Fix a bug, improve error handling when running test

llvm::sys::ExecuteAndWait can report errors, so let's make use of that.

Second, while iterating uses of functions to remove, a call can appear
multiple times. Use a SetVector so we don't attempt to erase such a call
twice.

Details

Committed
rnkSep 11 2019, 1:29 PM
Parents
rL371652: The LLD buildbot has some tests that are not reliable.
Branches
Unknown
Tags
Unknown