[llvm-commits] [llvm] r86399 - in /llvm/trunk/test/FrontendC: memcpy_chk.c memset_chk.c object_size.c

Chris Lattner sabre at nondot.org
Sat Nov 7 11:13:18 PST 2009


Author: lattner
Date: Sat Nov  7 13:13:17 2009
New Revision: 86399

URL: http://llvm.org/viewvc/llvm-project?rev=86399&view=rev
Log:
temporarily remove these tests, as they are breaking in the buildbot,
Eric, please investigate.

Removed:
    llvm/trunk/test/FrontendC/memcpy_chk.c
    llvm/trunk/test/FrontendC/memset_chk.c
    llvm/trunk/test/FrontendC/object_size.c

Removed: llvm/trunk/test/FrontendC/memcpy_chk.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/memcpy_chk.c?rev=86398&view=auto

==============================================================================
--- llvm/trunk/test/FrontendC/memcpy_chk.c (original)
+++ llvm/trunk/test/FrontendC/memcpy_chk.c (removed)
@@ -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));
-}

Removed: llvm/trunk/test/FrontendC/memset_chk.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/memset_chk.c?rev=86398&view=auto

==============================================================================
--- llvm/trunk/test/FrontendC/memset_chk.c (original)
+++ llvm/trunk/test/FrontendC/memset_chk.c (removed)
@@ -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));
-}

Removed: llvm/trunk/test/FrontendC/object_size.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/object_size.c?rev=86398&view=auto

==============================================================================
--- llvm/trunk/test/FrontendC/object_size.c (original)
+++ llvm/trunk/test/FrontendC/object_size.c (removed)
@@ -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);
-}





More information about the llvm-commits mailing list