[cfe-commits] r158181 - in /cfe/trunk/test/CodeGen: 2002-05-24-Alloca.c alloca.c
Chandler Carruth
chandlerc at gmail.com
Thu Jun 7 17:06:56 PDT 2012
Author: chandlerc
Date: Thu Jun 7 19:06:56 2012
New Revision: 158181
URL: http://llvm.org/viewvc/llvm-project?rev=158181&view=rev
Log:
Rename a test case to a more generic name. This is a completely useless
test, but David Sehr is looking at spiffing it up and adding some proper
tests for our alloca codegen.
Added:
cfe/trunk/test/CodeGen/alloca.c
- copied, changed from r158178, cfe/trunk/test/CodeGen/2002-05-24-Alloca.c
Removed:
cfe/trunk/test/CodeGen/2002-05-24-Alloca.c
Removed: cfe/trunk/test/CodeGen/2002-05-24-Alloca.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2002-05-24-Alloca.c?rev=158180&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/2002-05-24-Alloca.c (original)
+++ cfe/trunk/test/CodeGen/2002-05-24-Alloca.c (removed)
@@ -1,11 +0,0 @@
-// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
-
-typedef __SIZE_TYPE__ size_t;
-void *alloca(size_t size);
-char *strcpy(char *restrict s1, const char *restrict s2);
-int puts(const char *s);
-int main(int argc, char **argv) {
- char *C = (char*)alloca(argc);
- strcpy(C, argv[0]);
- puts(C);
-}
Copied: cfe/trunk/test/CodeGen/alloca.c (from r158178, cfe/trunk/test/CodeGen/2002-05-24-Alloca.c)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/alloca.c?p2=cfe/trunk/test/CodeGen/alloca.c&p1=cfe/trunk/test/CodeGen/2002-05-24-Alloca.c&r1=158178&r2=158181&rev=158181&view=diff
==============================================================================
(empty)
More information about the cfe-commits
mailing list