summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC/memcpy_chk.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-07 19:13:17 +0000
committerChris Lattner <sabre@nondot.org>2009-11-07 19:13:17 +0000
commit63ffdc748a10eee896fea196a1b25e6315c46eee (patch)
tree57ba35d586f28644f601328a6d25db56e83d0fa1 /llvm/test/FrontendC/memcpy_chk.c
parentc77d24b792de28cfe0140d24da3a0789da749be1 (diff)
downloadbcm5719-llvm-63ffdc748a10eee896fea196a1b25e6315c46eee.tar.gz
bcm5719-llvm-63ffdc748a10eee896fea196a1b25e6315c46eee.zip
temporarily remove these tests, as they are breaking in the buildbot,
Eric, please investigate. llvm-svn: 86399
Diffstat (limited to 'llvm/test/FrontendC/memcpy_chk.c')
-rw-r--r--llvm/test/FrontendC/memcpy_chk.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/test/FrontendC/memcpy_chk.c b/llvm/test/FrontendC/memcpy_chk.c
deleted file mode 100644
index 7c07931c079..00000000000
--- a/llvm/test/FrontendC/memcpy_chk.c
+++ /dev/null
@@ -1,28 +0,0 @@
-// RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep call | grep memcpy_chk | count 3
-// RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep call | grep {llvm.memcpy} | count 3
-// rdar://6716432
-
-void *t1(void *d, void *s) {
- return __builtin___memcpy_chk(d, s, 16, 0);
-}
-
-void *t2(void *d, void *s) {
- return __builtin___memcpy_chk(d, s, 16, 10);
-}
-
-void *t3(void *d, void *s) {
- return __builtin___memcpy_chk(d, s, 16, 17);
-}
-
-void *t4(void *d, void *s, unsigned len) {
- return __builtin___memcpy_chk(d, s, len, 17);
-}
-
-char buf[10];
-void *t5(void *s, unsigned len) {
- return __builtin___memcpy_chk(buf, s, 5, __builtin_object_size(buf, 0));
-}
-
-void *t6(void *d, void *s) {
- return __builtin___memcpy_chk(d, s, 16, __builtin_object_size(d, 0));
-}
OpenPOWER on IntegriCloud