diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-05-20 23:50:19 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-20 23:50:19 +0000 |
| commit | 1daa35f830b0da27582c4d25537f4e4084590911 (patch) | |
| tree | a12cdf553a0c9e28ecbe6e850be31279045314ae /lib/Support | |
| parent | 5373b294648bf0285621a82281f136578ba70082 (diff) | |
| download | external_llvm-1daa35f830b0da27582c4d25537f4e4084590911.zip external_llvm-1daa35f830b0da27582c4d25537f4e4084590911.tar.gz external_llvm-1daa35f830b0da27582c4d25537f4e4084590911.tar.bz2 | |
Fix __crashreport_info__ declaration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
| -rw-r--r-- | lib/Support/PrettyStackTrace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/PrettyStackTrace.cpp b/lib/Support/PrettyStackTrace.cpp index 68b41a7..7a04a53 100644 --- 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 |
