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:
ba29cc3
)
[llvm-rtdyld] Message() is used only once. Inline. NFC.
author
Davide Italiano
<davide@freebsd.org>
Fri, 20 Nov 2015 23:12:15 +0000
(23:12 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Fri, 20 Nov 2015 23:12:15 +0000
(23:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253736
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-rtdyld/llvm-rtdyld.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-rtdyld/llvm-rtdyld.cpp
b/tools/llvm-rtdyld/llvm-rtdyld.cpp
index 315c50fd9efd0e91afcd35ce0f92c13b8fa3128a..eab74543cbb94ae69ced6df2e01aa1b5ba08c25b 100644
(file)
--- a/
tools/llvm-rtdyld/llvm-rtdyld.cpp
+++ b/
tools/llvm-rtdyld/llvm-rtdyld.cpp
@@
-240,12
+240,8
@@
uint8_t *TrivialMemoryManager::allocateDataSection(uintptr_t Size,
static const char *ProgramName;
-static void Message(const char *Type, const Twine &Msg) {
- errs() << ProgramName << ": " << Type << ": " << Msg << "\n";
-}
-
static int Error(const Twine &Msg) {
-
Message("error", Msg)
;
+
errs() << ProgramName << ": error: " << Msg << "\n"
;
return 1;
}