[compiler-rt] r272074 - [scudo] trying to fix the bot: aligned_alloc is not known there; attempt 3

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 16:49:12 PDT 2016


Author: kcc
Date: Tue Jun  7 18:49:11 2016
New Revision: 272074

URL: http://llvm.org/viewvc/llvm-project?rev=272074&view=rev
Log:
[scudo] trying to fix the bot: aligned_alloc is not known there; attempt 3

Modified:
    compiler-rt/trunk/test/scudo/memalign.cpp

Modified: compiler-rt/trunk/test/scudo/memalign.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/scudo/memalign.cpp?rev=272074&r1=272073&r2=272074&view=diff
==============================================================================
--- compiler-rt/trunk/test/scudo/memalign.cpp (original)
+++ compiler-rt/trunk/test/scudo/memalign.cpp Tue Jun  7 18:49:11 2016
@@ -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)
 {




More information about the llvm-commits mailing list