projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e22fa1d
)
[Support] Forward GenCrashDiag argument from report_fatal_error(Error, bool)
author
Alex Bradbury
<asb@igalia.com>
Wed, 17 May 2023 10:16:15 +0000
(11:16 +0100)
committer
Alex Bradbury
<asb@igalia.com>
Wed, 17 May 2023 10:16:15 +0000
(11:16 +0100)
The boolean GenCrashDiag argument was previous just discarded, which
seems to be an oversight that existed when this overload was first
added.
Differential Revision: https://reviews.llvm.org/D150669
llvm/lib/Support/Error.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Error.cpp
b/llvm/lib/Support/Error.cpp
index
fbe86f2
..
b339b70
100644
(file)
--- a/
llvm/lib/Support/Error.cpp
+++ b/
llvm/lib/Support/Error.cpp
@@
-149,7
+149,7
@@
void report_fatal_error(Error Err, bool GenCrashDiag) {
raw_string_ostream ErrStream(ErrMsg);
logAllUnhandledErrors(std::move(Err), ErrStream);
}
- report_fatal_error(Twine(ErrMsg));
+ report_fatal_error(Twine(ErrMsg)
, GenCrashDiag
);
}
} // end namespace llvm