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:
13e9b4d
)
Fix the apple build issue caused by r288956
author
Chris Bieneman
<beanz@apple.com>
Wed, 7 Dec 2016 19:28:22 +0000
(19:28 +0000)
committer
Chris Bieneman
<beanz@apple.com>
Wed, 7 Dec 2016 19:28:22 +0000
(19:28 +0000)
Should be checking if HAVE_CRASHREPORTERCLIENT_H is defined not relying on it having a value.
llvm-svn: 288963
llvm/lib/Support/PrettyStackTrace.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/PrettyStackTrace.cpp
b/llvm/lib/Support/PrettyStackTrace.cpp
index
845745c
..
f49eb0a
100644
(file)
--- a/
llvm/lib/Support/PrettyStackTrace.cpp
+++ b/
llvm/lib/Support/PrettyStackTrace.cpp
@@
-79,7
+79,7
@@
static void PrintCurStackTrace(raw_ostream &OS) {
}
// Integrate with crash reporter libraries.
-#if defined (__APPLE__) &&
HAVE_CRASHREPORTERCLIENT_H
+#if defined (__APPLE__) &&
defined(HAVE_CRASHREPORTERCLIENT_H)
// If any clients of llvm try to link to libCrashReporterClient.a themselves,
// only one crash info struct will be used.
extern "C" {