diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-07 19:13:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-07 19:13:17 +0000 |
commit | f1c104fb32d0776c1cd89829a34ddab3afb0027d (patch) | |
tree | ff568853033b9bf811693ce548ecfd68cda66347 | |
parent | 918871ee016e9336e28b434738d20960036d05a4 (diff) |
temporarily remove these tests, as they are breaking in the buildbot,
Eric, please investigate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86399 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/FrontendC/memcpy_chk.c | 28 | ||||
-rw-r--r-- | test/FrontendC/memset_chk.c | 6 | ||||
-rw-r--r-- | test/FrontendC/object_size.c | 16 |
3 files changed, 0 insertions, 50 deletions
diff --git a/test/FrontendC/memcpy_chk.c b/test/FrontendC/memcpy_chk.c deleted file mode 100644 index 7c07931c07..0000000000 --- a/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)); -} diff --git a/test/FrontendC/memset_chk.c b/test/FrontendC/memset_chk.c deleted file mode 100644 index b347dd0b7e..0000000000 --- a/test/FrontendC/memset_chk.c +++ /dev/null @@ -1,6 +0,0 @@ -// RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep call | not grep memset_chk -// rdar://6728562 - -void t(void *ptr) { - __builtin___memset_chk(ptr, 0, 32, __builtin_object_size (ptr, 0)); -} diff --git a/test/FrontendC/object_size.c b/test/FrontendC/object_size.c deleted file mode 100644 index 0ddd66bc38..0000000000 --- a/test/FrontendC/object_size.c +++ /dev/null @@ -1,16 +0,0 @@ -// RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep ret | grep {\\-1} | count 1 -// RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep ret | grep {0} | count 1 -// RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep ret | grep {8} | count 1 - -unsigned t1(void *d) { - return __builtin_object_size(d, 0); -} - -unsigned t2(void *d) { - return __builtin_object_size(d, 2); -} - -char buf[8]; -unsigned t3() { - return __builtin_object_size(buf, 0); -} |