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:
1cc3984
)
Fix __crashreport_info__ declaration.
author
Daniel Dunbar
<daniel@zuster.org>
Thu, 20 May 2010 23:50:19 +0000
(23:50 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Thu, 20 May 2010 23:50:19 +0000
(23:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104300
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/PrettyStackTrace.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/PrettyStackTrace.cpp
b/lib/Support/PrettyStackTrace.cpp
index 68b41a7f094273fbfe274077b54a11db1aeb5235..7a04a530c566cdfe2b22c4d079dfb09939ccf6cb 100644
(file)
--- a/
lib/Support/PrettyStackTrace.cpp
+++ b/
lib/Support/PrettyStackTrace.cpp
@@
-50,8
+50,8
@@
static void PrintCurStackTrace(raw_ostream &OS) {
// Integrate with crash reporter.
#ifdef __APPLE__
-
extern "C" const char *__crashreporter_info__
;
-
const char *__crashreporter_info__ = 0
;
+
static const char *__crashreporter_info__ = 0
;
+
asm(".desc ___crashreporter_info__, 0x10")
;
#endif