[llvm-commits] CVS: llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-strcat.ll
Reid Spencer
reid at x10sys.com
Mon Apr 25 08:40:46 PDT 2005
Changes in directory llvm/test/Regression/Transforms/SimplifyLibCalls:
2005-04-24-strcat.ll updated: 1.1 -> 1.2
---
Log message:
Make sure the target buffer is null terminated so we don't blow up
strcat when its called.
---
Diffs of the changes: (+1 -0)
2005-04-24-strcat.ll | 1 +
1 files changed, 1 insertion(+)
Index: llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-strcat.ll
diff -u llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-strcat.ll:1.1 llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-strcat.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-strcat.ll:1.1 Mon Apr 25 02:29:30 2005
+++ llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-strcat.ll Mon Apr 25 10:40:35 2005
@@ -10,6 +10,7 @@
int %main () {
%target = alloca [1024 x sbyte]
%arg1 = getelementptr [1024 x sbyte]* %target, int 0, int 0
+ store sbyte 0, sbyte* %arg1
%arg2 = getelementptr [6 x sbyte]* %hello, int 0, int 0
%rslt = call sbyte* %strcat(sbyte* %arg1, sbyte* %arg2)
ret int 0
More information about the llvm-commits
mailing list