OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9754b3b
)
[lli] Prefer `exit(1)` to `return 1` for consistency.
author
Davide Italiano
<davide@freebsd.org>
Thu, 17 Nov 2016 22:59:13 +0000
(22:59 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Thu, 17 Nov 2016 22:59:13 +0000
(22:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287277
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/lli/lli.cpp
patch
|
blob
|
history
diff --git
a/tools/lli/lli.cpp
b/tools/lli/lli.cpp
index
ecc90d7
..
26e8af9
100644
(file)
--- a/
tools/lli/lli.cpp
+++ b/
tools/lli/lli.cpp
@@
-525,7
+525,7
@@
int main(int argc, char **argv, char * const *envp) {
logAllUnhandledErrors(ArOrErr.takeError(), OS, "");
OS.flush();
errs() << Buf;
-
return 1
;
+
exit(1)
;
}
std::unique_ptr<object::Archive> &Ar = ArOrErr.get();