projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b50cdd
)
[llvm-readobj] reportError() never returns. Mark with the correct attribute.
author
Davide Italiano
<davide@freebsd.org>
Fri, 4 Dec 2015 19:29:49 +0000
(19:29 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Fri, 4 Dec 2015 19:29:49 +0000
(19:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254752
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-readobj/llvm-readobj.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-readobj/llvm-readobj.cpp
b/tools/llvm-readobj/llvm-readobj.cpp
index 63cec03438cc36b61760c1b2506fcce386632d03..5406afff241e66aa663b37ef779154cd5efcc6ed 100644
(file)
--- a/
tools/llvm-readobj/llvm-readobj.cpp
+++ b/
tools/llvm-readobj/llvm-readobj.cpp
@@
-231,7
+231,7
@@
namespace opts {
namespace llvm {
-void reportError(Twine Msg) {
+
LLVM_ATTRIBUTE_NORETURN
void reportError(Twine Msg) {
outs() << "\nError reading file: " << Msg << ".\n";
outs().flush();
exit(1);