diff options
| author | Kostya Serebryany <kcc@google.com> | 2016-06-07 23:49:11 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2016-06-07 23:49:11 +0000 |
| commit | 86020ba32b8380f285a5e12dc44c539313cd50a4 (patch) | |
| tree | 6c1abd7354d161b725180d239754d35b76235ce4 | |
| parent | d833917f988733d06b963b3853223f40bfce49e6 (diff) | |
| download | bcm5719-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.cpp | 2 |
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) { |

