diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-11 01:46:03 +0000 | 
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-11 01:46:03 +0000 | 
| commit | 45eb84f34044c2e3c83f420c9bbdcdf028eb80c4 (patch) | |
| tree | 393e63edefba1bf8f317f27f522b2ec9db06efe0 /llvm/tools/llvm-xray | |
| parent | ef33a190bccc782a505ff0b18cadc278ec682926 (diff) | |
| download | bcm5719-llvm-45eb84f34044c2e3c83f420c9bbdcdf028eb80c4.tar.gz bcm5719-llvm-45eb84f34044c2e3c83f420c9bbdcdf028eb80c4.zip | |
[Support] Make error banner optional in logAllUnhandledErrors
In a lot of places an empty string was passed as the ErrorBanner to
logAllUnhandledErrors. This patch makes that argument optional to
simplify the call sites.
llvm-svn: 346604
Diffstat (limited to 'llvm/tools/llvm-xray')
| -rw-r--r-- | llvm/tools/llvm-xray/xray-stacks.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/tools/llvm-xray/xray-stacks.cpp b/llvm/tools/llvm-xray/xray-stacks.cpp index 059940b7756..d3af9e25e6f 100644 --- a/llvm/tools/llvm-xray/xray-stacks.cpp +++ b/llvm/tools/llvm-xray/xray-stacks.cpp @@ -737,7 +737,7 @@ static CommandRegistration Unused(&Stack, []() -> Error {                  Twine("Failed loading input file '") + Filename + "'",                  std::make_error_code(std::errc::invalid_argument)),              TraceOrErr.takeError()); -      logAllUnhandledErrors(TraceOrErr.takeError(), errs(), ""); +      logAllUnhandledErrors(TraceOrErr.takeError(), errs());        continue;      }      auto &T = *TraceOrErr; | 

