Fix compiler_builtins.m test to not rely on including system stdlib.h and malloc.h
authorHans Wennborg <hans@hanshq.net>
Thu, 22 Jan 2015 00:45:20 +0000 (00:45 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 22 Jan 2015 00:45:20 +0000 (00:45 +0000)
commit9cf7122ff75017ce747a391931f18e54fd7935dc
treece8b7d9e24bf818446cabafd65202590088a8acb
parent03176d781f32d265cf3333af6abb22577c160f12
Fix compiler_builtins.m test to not rely on including system stdlib.h and malloc.h

Importing _Builtin_intrinsics.sse and avx would transitively pull in those
headers, and the test would fail when building in an environment where
they were not available on the include path.

This fixes PR20995 for me.

Differential Revision: http://reviews.llvm.org/D7112

llvm-svn: 226754
clang/test/Modules/Inputs/System/usr/include/malloc.h [new file with mode: 0644]
clang/test/Modules/Inputs/System/usr/include/stdlib.h [new file with mode: 0644]
clang/test/Modules/compiler_builtins.m