We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9be63f commit d74c49bCopy full SHA for d74c49b
llvm-4.0.0.src/projects/compiler-rt/lib/lowfat/lowfat_linux.c
@@ -61,6 +61,7 @@ static void lowfat_random_page(void *buf)
61
path);
62
}
63
64
+#ifdef __GLIBC__
65
#include <execinfo.h>
66
static LOWFAT_NOINLINE void lowfat_backtrace(void)
67
{
@@ -73,6 +74,9 @@ static LOWFAT_NOINLINE void lowfat_backtrace(void)
73
74
if (len == 0 || len == sizeof(trace) / sizeof(void *))
75
fprintf(stderr, "...\n");
76
77
+#else
78
+static LOWFAT_NOINLINE void lowfat_backtrace(void) { }
79
+#endif /* __GLIBC__ */
80
81
/*
82
* Open a unique+anonymous shared memory object.
0 commit comments