Convenience/safety fix for llvm::sys::Execute(And|No)Wait

Description

Convenience/safety fix for llvm::sys::Execute(And|No)Wait

Summary:
Change the type of the Redirects parameter of llvm::sys::ExecuteAndWait,
ExecuteNoWait and other APIs that wrap them from const StringRef ** to
ArrayRef<Optional<StringRef>>, which is safer and simplifies the use of these
APIs (no more local StringRef variables just to get a pointer to).

Corresponding clang changes will be posted as a separate patch.

Reviewers: bkramer

Reviewed By: bkramer

Subscribers: vsk, llvm-commits

Differential Revision: https://reviews.llvm.org/D37563

Details

Committed
alexfhWed, Sep 13, 10:03 AM
Reviewer
bkramer
Differential Revision
D37563: Convenience/safety fix for llvm::sys::Execute(And|No)Wait
Parents
rL313154: Remove CopyRelSecOff from SharedSymbol.
Branches
Unknown
Tags
Unknown