[llvm-commits] CVS: llvm/test/CFrontend/2006-09-25-DebugFilename.c 2007-06-15-AnnotateAttribute.c
Tanya Lattner
tonic at nondot.org
Mon Jun 18 15:24:01 PDT 2007
Changes in directory llvm/test/CFrontend:
2006-09-25-DebugFilename.c updated: 1.3 -> 1.4
2007-06-15-AnnotateAttribute.c updated: 1.1 -> 1.2
---
Log message:
Modify annotate intrinsic to take 2 additional args: file and line number.
Fix up Annotate attribute test case.
Fix DebugFilename.c test case to look for right file name.
---
Diffs of the changes: (+2 -3)
2006-09-25-DebugFilename.c | 2 +-
2007-06-15-AnnotateAttribute.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
Index: llvm/test/CFrontend/2006-09-25-DebugFilename.c
diff -u llvm/test/CFrontend/2006-09-25-DebugFilename.c:1.3 llvm/test/CFrontend/2006-09-25-DebugFilename.c:1.4
--- llvm/test/CFrontend/2006-09-25-DebugFilename.c:1.3 Mon Apr 16 16:07:00 2007
+++ llvm/test/CFrontend/2006-09-25-DebugFilename.c Mon Jun 18 17:23:39 2007
@@ -1,5 +1,5 @@
// RUN: ignore %llvmgcc -xc %s -S -o /dev/null |& \
-// RUN: grep fluffy | grep 2006-09-25-DebugFilename.c.tr
+// RUN: grep fluffy | grep 2006-09-25-DebugFilename.c
#include "2006-09-25-DebugFilename.h"
int func1() { return hfunc1(); }
int func2() { fluffy; return hfunc1(); }
Index: llvm/test/CFrontend/2007-06-15-AnnotateAttribute.c
diff -u llvm/test/CFrontend/2007-06-15-AnnotateAttribute.c:1.1 llvm/test/CFrontend/2007-06-15-AnnotateAttribute.c:1.2
--- llvm/test/CFrontend/2007-06-15-AnnotateAttribute.c:1.1 Fri Jun 15 15:52:47 2007
+++ llvm/test/CFrontend/2007-06-15-AnnotateAttribute.c Mon Jun 18 17:23:39 2007
@@ -1,5 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.global.annotations | grep foo \
-// RUN: | grep @X | grep @a
+// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.global.annotations
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep -c llvm.var.annotation | grep 3
#include <stdio.h>
More information about the llvm-commits
mailing list