Fix __crashreport_info__ declaration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2010-05-20 23:50:19 +00:00
parent 1cc3984148
commit 4ef6730632

View File

@ -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