[llvm-commits] CVS: llvm-test/GenerateReport.pl

Chris Lattner lattner at cs.uiuc.edu
Wed Nov 3 13:55:28 PST 2004



Changes in directory llvm-test:

GenerateReport.pl updated: 1.21 -> 1.22
---
Log message:

Successfully strip off paths that start with /


---
Diffs of the changes:  (+2 -1)

Index: llvm-test/GenerateReport.pl
diff -u llvm-test/GenerateReport.pl:1.21 llvm-test/GenerateReport.pl:1.22
--- llvm-test/GenerateReport.pl:1.21	Sat Jun 19 18:02:37 2004
+++ llvm-test/GenerateReport.pl	Wed Nov  3 15:55:16 2004
@@ -150,7 +150,8 @@
 if ($TrimRepeatedPrefix and scalar(@Values)) {
   OuterLoop: while (1) {
     # Figure out what the first path prefix is:
-    $Values[0]->[0] =~ m|([^/]+/).|;
+    $Values[0]->[0] =~ m|^([^/]*/).|;
+print "PREFIX = $1\n";
     last OuterLoop if (!defined($1));
 
     # Now that we have the prefix, check to see if all of the entries in the






More information about the llvm-commits mailing list