summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-06-07 23:49:11 +0000
committerKostya Serebryany <kcc@google.com>2016-06-07 23:49:11 +0000
commit86020ba32b8380f285a5e12dc44c539313cd50a4 (patch)
tree6c1abd7354d161b725180d239754d35b76235ce4
parentd833917f988733d06b963b3853223f40bfce49e6 (diff)
downloadbcm5719-llvm-86020ba32b8380f285a5e12dc44c539313cd50a4.tar.gz
bcm5719-llvm-86020ba32b8380f285a5e12dc44c539313cd50a4.zip
[scudo] trying to fix the bot: aligned_alloc is not known there; attempt 3
llvm-svn: 272074
-rw-r--r--compiler-rt/test/scudo/memalign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/scudo/memalign.cpp b/compiler-rt/test/scudo/memalign.cpp
index df5c4e11ebb..951d1aade6e 100644
--- a/compiler-rt/test/scudo/memalign.cpp
+++ b/compiler-rt/test/scudo/memalign.cpp
@@ -11,7 +11,7 @@
#include <string.h>
// Sometimes the headers may not have this...
-extern void *aligned_alloc (size_t alignment, size_t size);
+extern "C" void *aligned_alloc (size_t alignment, size_t size);
int main(int argc, char **argv)
{
OpenPOWER on IntegriCloud