[PATCH] D24825: [X86] Remove the mm_malloc.h include guard hack from the X86 builtins tests
Elad Cohen via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 22 06:42:56 PDT 2016
eladcohen created this revision.
eladcohen added a subscriber: cfe-commits.
The X86 clang/test/CodeGen/*builtins.c tests define the mm_malloc.h include guard as a hack for avoiding its inclusion (mm_malloc.h requires a hosted environment since it expects stdlib.h to be available - which is not the case in these internal clang codegen tests).
This patch removes this hack and instead passes -ffreestanding to clang cc1.
https://reviews.llvm.org/D24825
Files:
test/CodeGen/3dnow-builtins.c
test/CodeGen/avx-builtins.c
test/CodeGen/avx-cmp-builtins.c
test/CodeGen/avx-shuffle-builtins.c
test/CodeGen/avx2-builtins.c
test/CodeGen/avx512bw-builtins.c
test/CodeGen/avx512cdintrin.c
test/CodeGen/avx512dq-builtins.c
test/CodeGen/avx512er-builtins.c
test/CodeGen/avx512f-builtins.c
test/CodeGen/avx512ifma-builtins.c
test/CodeGen/avx512pf-builtins.c
test/CodeGen/avx512vbmi-builtins.c
test/CodeGen/avx512vbmivl-builtin.c
test/CodeGen/avx512vl-builtins.c
test/CodeGen/avx512vlbw-builtins.c
test/CodeGen/avx512vlcd-builtins.c
test/CodeGen/avx512vldq-builtins.c
test/CodeGen/bitscan-builtins.c
test/CodeGen/bmi-builtins.c
test/CodeGen/bmi2-builtins.c
test/CodeGen/f16c-builtins.c
test/CodeGen/fma-builtins.c
test/CodeGen/fma4-builtins.c
test/CodeGen/fsgsbase-builtins.c
test/CodeGen/lzcnt-builtins.c
test/CodeGen/mmx-builtins.c
test/CodeGen/pclmul-builtins.c
test/CodeGen/pku.c
test/CodeGen/popcnt-builtins.c
test/CodeGen/prefetchw-builtins.c
test/CodeGen/rd-builtins.c
test/CodeGen/rdrand-builtins.c
test/CodeGen/rtm-builtins.c
test/CodeGen/sha-builtins.c
test/CodeGen/sse-builtins.c
test/CodeGen/sse.c
test/CodeGen/sse2-builtins.c
test/CodeGen/sse3-builtins.c
test/CodeGen/sse41-builtins.c
test/CodeGen/sse42-builtins.c
test/CodeGen/sse4a-builtins.c
test/CodeGen/ssse3-builtins.c
test/CodeGen/tbm-builtins.c
test/CodeGen/vector.c
test/CodeGen/xop-builtins.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24825.72158.patch
Type: text/x-patch
Size: 29158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160922/e517ee15/attachment-0001.bin>
More information about the cfe-commits
mailing list