summaryrefslogtreecommitdiffstats
path: root/compiler-rt/make/platform/clang_linux_test_input.c
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-10-09 16:05:50 +0000
committerAlexey Samsonov <samsonov@google.com>2012-10-09 16:05:50 +0000
commit7b6ce747d692f82be45131dbcdbed0972d4b81d4 (patch)
tree10b2f35a0ea4b0281afb184ab9858f4dbd5db619 /compiler-rt/make/platform/clang_linux_test_input.c
parentbe5ae06dec9e5fa5a92368b87c0fefb0c860eb53 (diff)
downloadbcm5719-llvm-7b6ce747d692f82be45131dbcdbed0972d4b81d4.tar.gz
bcm5719-llvm-7b6ce747d692f82be45131dbcdbed0972d4b81d4.zip
Determine supported archs for compiler-rt libraries on Linux by trying to compile a simple executable
llvm-svn: 165504
Diffstat (limited to 'compiler-rt/make/platform/clang_linux_test_input.c')
-rw-r--r--compiler-rt/make/platform/clang_linux_test_input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/make/platform/clang_linux_test_input.c b/compiler-rt/make/platform/clang_linux_test_input.c
new file mode 100644
index 00000000000..e65ce9860af
--- /dev/null
+++ b/compiler-rt/make/platform/clang_linux_test_input.c
@@ -0,0 +1,4 @@
+// This file is used to check if we can produce working executables
+// for i386 and x86_64 archs on Linux.
+#include <stdlib.h>
+int main(){}
OpenPOWER on IntegriCloud