summaryrefslogtreecommitdiffstats
path: root/lldb/test
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-12-12 01:47:35 +0000
committerEnrico Granata <egranata@apple.com>2013-12-12 01:47:35 +0000
commit601ec50ac93643aba3c266dfc90eb4520bb15f78 (patch)
tree7a08d01a8a99226984b72db086bd63b8263f9b9c /lldb/test
parent739050236e13bbeb99c6d97be072333fd447b06b (diff)
downloadbcm5719-llvm-601ec50ac93643aba3c266dfc90eb4520bb15f78.tar.gz
bcm5719-llvm-601ec50ac93643aba3c266dfc90eb4520bb15f78.zip
Actually initialize the magic pointer to NULL safely
llvm-svn: 197107
Diffstat (limited to 'lldb/test')
-rw-r--r--lldb/test/crashinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/crashinfo.c b/lldb/test/crashinfo.c
index fb82b114b3c..8398d14d035 100644
--- a/lldb/test/crashinfo.c
+++ b/lldb/test/crashinfo.c
@@ -17,7 +17,7 @@
#include <string.h>
#include <stdio.h>
-extern void *__crashreporter_info__;
+void *__crashreporter_info__ = NULL;
asm(".desc ___crashreporter_info__, 0x10");
OpenPOWER on IntegriCloud