[llvm-commits] CVS: llvm-test/TEST.fourway-debuginfo.Makefile TEST.fourway-debuginfo.report TEST.fourway-time.Makefile TEST.fourway-time.report fourway.Makefile TEST.fourway.Makefile TEST.fourway.report

Jim Laskey jlaskey at apple.com
Sat Dec 9 01:40:46 PST 2006



Changes in directory llvm-test:

TEST.fourway-debuginfo.Makefile added (r1.1)
TEST.fourway-debuginfo.report added (r1.1)
TEST.fourway-time.Makefile added (r1.1)
TEST.fourway-time.report added (r1.1)
fourway.Makefile added (r1.1)
TEST.fourway.Makefile updated: 1.1 -> 1.2
TEST.fourway.report updated: 1.1 -> 1.2
---
Log message:

GCC vs. LLVM-GCC by Debug vs. No Debug reports.

---
Diffs of the changes:  (+246 -109)

 TEST.fourway-debuginfo.Makefile |   22 +++++++++
 TEST.fourway-debuginfo.report   |   50 +++++++++++++++++++++
 TEST.fourway-time.Makefile      |   22 +++++++++
 TEST.fourway-time.report        |   38 ++++++++++++++++
 TEST.fourway.Makefile           |   93 ++++++++--------------------------------
 TEST.fourway.report             |   57 +++++++++---------------
 fourway.Makefile                |   73 +++++++++++++++++++++++++++++++
 7 files changed, 246 insertions(+), 109 deletions(-)


Index: llvm-test/TEST.fourway-debuginfo.Makefile
diff -c /dev/null llvm-test/TEST.fourway-debuginfo.Makefile:1.1
*** /dev/null	Sat Dec  9 03:40:41 2006
--- llvm-test/TEST.fourway-debuginfo.Makefile	Sat Dec  9 03:40:31 2006
***************
*** 0 ****
--- 1,22 ----
+ ##===- TEST.fourway.Makefile -------------------------------*- Makefile -*-===##
+ #
+ # This test tries running the gcc and llvm-gcc compilers on all of the programs
+ # with and without debuginfo and reports on resulting sizes.
+ #
+ ##===----------------------------------------------------------------------===##
+ 
+ include $(LEVEL)/fourway.Makefile
+ 
+ $(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
+ test.$(TEST).%: $(LLVMGCC) $(LLVMGXX) \
+ Output/%.report.$(TEST).txt \
+ Output/%.gcc.nodebug.size \
+ Output/%.gcc.debug.size \
+ Output/%.llvmgcc.nodebug.size \
+ Output/%.llvmgcc.debug.size
+ 	@-cat Output/$*.gcc.nodebug.size
+ 	@-cat Output/$*.gcc.debug.size
+ 	@-cat Output/$*.llvmgcc.nodebug.size
+ 	@-cat Output/$*.llvmgcc.debug.size
+ 
+ 


Index: llvm-test/TEST.fourway-debuginfo.report
diff -c /dev/null llvm-test/TEST.fourway-debuginfo.report:1.1
*** /dev/null	Sat Dec  9 03:40:46 2006
--- llvm-test/TEST.fourway-debuginfo.report	Sat Dec  9 03:40:31 2006
***************
*** 0 ****
--- 1,50 ----
+ ##=== TEST.fourway.report - Report description for llc tests ---*- perl -*-===##
+ #
+ # This file defines a report to be generated for the fourway-debuginfo test.
+ #
+ ##===----------------------------------------------------------------------===##
+ 
+ # Sort by name
+ $SortCol = 1;
+ $TrimRepeatedPrefix = 1;
+ my $ExtTextSize  = '(\d+)\s+\d+\s+\d+\s+\d+\s+\d+\s+[0-9a-fA-F]+';
+ my $ExtDataSize  = '\d+\s+(\d+)\s+\d+\s+\d+\s+\d+\s+[0-9a-fA-F]+';
+ my $ExtObjSize   = '\d+\s+\d+\s+(\d+)\s+\d+\s+\d+\s+[0-9a-fA-F]+';
+ my $ExtOtherSize = '\d+\s+\d+\s+\d+\s+(\d+)\s+\d+\s+[0-9a-fA-F]+';
+ my $ExtTotalSize = '\d+\s+\d+\s+\d+\s+\d+\s+(\d+)\s+[0-9a-fA-F]+';
+ 
+ sub Percentage {
+   my ($Cols, $Col) = @_;
+   my $GCC = $Cols->[$Col-2];
+   my $LLVMGCC = $Cols->[$Col-1];
+   return "n/a" if ($GCC eq "*" or $LLVMGCC eq "*");
+   return sprintf("%5.1f%%", $LLVMGCC / $GCC * 100)
+          if ($GCC > 0 and $LLVMGCC > 0);
+   return "    -";
+ }
+ 
+ # These are the columns for the report.  The first entry is the header for the
+ # column, the second is the regex to use to match the value.  Empty list create
+ # seperators, and closures may be put in for custom processing.
+ (
+ # Name
+  ["Name:" , '\'([^\']+)\' Program'],
+  [],
+ # Text Sizes
+  ["Text GND", "${ExtTextSize}gcc.nodebug"],
+  ["Text GD",  "${ExtTextSize}gcc.debug"],
+  ["Text LND", "${ExtTextSize}llvmgcc.nodebug"],
+  ["Text LD",  "${ExtTextSize}llvmgcc.debug"],
+  [],
+ # Other Sizes
+  ["Debug* GCC",      "${ExtOtherSize}gcc.debug"],
+  ["Debug* LLVM-GCC", "${ExtOtherSize}llvmgcc.debug"],
+  ["Debug* %",        \&Percentage],
+  [],
+ # Total Sizes
+  ["Total GND", "${ExtTotalSize}gcc.nodebug"],
+  ["Total GD",  "${ExtTotalSize}gcc.debug"],
+  ["Total LND", "${ExtTotalSize}llvmgcc.nodebug"],
+  ["Total LD",  "${ExtTotalSize}llvmgcc.debug"],
+  [],
+  );


Index: llvm-test/TEST.fourway-time.Makefile
diff -c /dev/null llvm-test/TEST.fourway-time.Makefile:1.1
*** /dev/null	Sat Dec  9 03:40:46 2006
--- llvm-test/TEST.fourway-time.Makefile	Sat Dec  9 03:40:31 2006
***************
*** 0 ****
--- 1,22 ----
+ ##===- TEST.fourway.Makefile -------------------------------*- Makefile -*-===##
+ #
+ # This test tries running the gcc and llvm-gcc compilers on all of the programs
+ # with and without debuginfo and reports on compile time.
+ #
+ ##===----------------------------------------------------------------------===##
+ 
+ include $(LEVEL)/fourway.Makefile
+ 
+ $(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
+ test.$(TEST).%: $(LLVMGCC) $(LLVMGXX) \
+ Output/%.report.$(TEST).txt \
+ Output/%.gcc.nodebug.time \
+ Output/%.gcc.debug.time \
+ Output/%.llvmgcc.nodebug.time \
+ Output/%.llvmgcc.debug.time
+ 	@-cat Output/$*.gcc.nodebug.time
+ 	@-cat Output/$*.gcc.debug.time
+ 	@-cat Output/$*.llvmgcc.nodebug.time
+ 	@-cat Output/$*.llvmgcc.debug.time
+ 
+ 


Index: llvm-test/TEST.fourway-time.report
diff -c /dev/null llvm-test/TEST.fourway-time.report:1.1
*** /dev/null	Sat Dec  9 03:40:46 2006
--- llvm-test/TEST.fourway-time.report	Sat Dec  9 03:40:31 2006
***************
*** 0 ****
--- 1,38 ----
+ ##=== TEST.fourway.report - Report description for llc tests ---*- perl -*-===##
+ #
+ # This file defines a report to be generated for the fourway-time test.
+ #
+ ##===----------------------------------------------------------------------===##
+ 
+ # Sort by name
+ $SortCol = 1;
+ $TrimRepeatedPrefix = 1;
+ 
+ sub Percentage {
+   my ($Cols, $Col) = @_;
+   my $GCC = $Cols->[$Col-5];
+   my $LLVMGCC = $Cols->[$Col-4];
+   return "n/a" if ($GCC eq "*" or $LLVMGCC eq "*");
+   return sprintf("%5.1f%%", $LLVMGCC / $GCC * 100)
+          if ($GCC >= 0.01 and $LLVMGCC >= 0.01);
+   return "    -";
+ }
+ 
+ # These are the columns for the report.  The first entry is the header for the
+ # column, the second is the regex to use to match the value.  Empty list create
+ # seperators, and closures may be put in for custom processing.
+ (
+ # Name
+  ["Name:" , '\'([^\']+)\' Program'],
+  [],
+ # Times
+  ["Time GND", 'real ([0-9.]+)gcc\.nodebug'],
+  ["Time GD",  'real ([0-9.]+)gcc\.debug'],
+  ["Time LND", 'real ([0-9.]+)llvmgcc\.nodebug'],
+  ["Time LD",  'real ([0-9.]+)llvmgcc\.debug'],
+  [],
+ # Time Ratios
+  ["No Debug", \&Percentage],
+  ["Debug",    \&Percentage],
+  [],
+  );


Index: llvm-test/fourway.Makefile
diff -c /dev/null llvm-test/fourway.Makefile:1.1
*** /dev/null	Sat Dec  9 03:40:46 2006
--- llvm-test/fourway.Makefile	Sat Dec  9 03:40:31 2006
***************
*** 0 ****
--- 1,73 ----
+ ##===- fourway.Makefile ------------------------------------*- Makefile -*-===##
+ #
+ # This file is intended to be included in four-way (gcc vs. llvm-gcc by
+ # debug vs. non-debug) reports, to provide raw data generating targets.
+ #
+ ##===----------------------------------------------------------------------===##
+ 
+ Output/%.report.$(TEST).txt:
+ 	@echo "---------------------------------------------------------------"
+ 	@echo ">>> ========= '$*' Program"
+ 	@echo "---------------------------------------------------------------"
+ 
+ 
+ Output/%.gcc.nodebug.o: %.cpp Output/.dir
+ 	@-(time -p $(CXX) $*.cpp -O0 -c -o $@) 2>&1 | \
+ 	  sed -e s/$$/gcc.nodebug/ > Output/$*.gcc.nodebug.time
+ 
+ Output/%.gcc.debug.o: %.cpp Output/.dir
+ 	@-(time -p $(CXX) $*.cpp -O0 -gdwarf-2 -c -o $@) 2>&1 | \
+ 	  sed -e s/$$/gcc.debug/ > Output/$*.gcc.debug.time
+ 
+ Output/%.llvmgcc.nodebug.o: %.cpp Output/.dir $(LLVMGXX)
+ 	@-(time -p $(LLVMGXX) $*.cpp -O0 -c -o $@) 2>&1 | \
+ 	  sed -e s/$$/llvmgcc.nodebug/ > Output/$*.llvmgcc.nodebug.time
+ 
+ Output/%.llvmgcc.debug.o: %.cpp Output/.dir $(LLVMGXX)
+ 	@-(time -p $(LLVMGXX) $*.cpp -O0 -g -c -o $@) 2>&1 | \
+ 	  sed -e s/$$/llvmgcc.debug/ > Output/$*.llvmgcc.debug.time
+ 
+ Output/%.gcc.nodebug.o: %.c Output/.dir
+ 	@-(time -p $(CC) $*.c -O0 -c -o $@) 2>&1 | \
+ 	  sed -e s/$$/gcc.nodebug/ > Output/$*.gcc.nodebug.time
+ 
+ Output/%.gcc.debug.o: %.c Output/.dir
+ 	@-(time -p $(CC) $*.c -O0 -gdwarf-2 -c -o $@) 2>&1 | \
+ 	  sed -e s/$$/gcc.debug/ > Output/$*.gcc.debug.time
+ 
+ Output/%.llvmgcc.nodebug.o: %.c Output/.dir $(LLVMGCC)
+ 	@-(time -p $(LLVMGCC) $*.c -O0 -c -o $@) 2>&1 | \
+ 	  sed -e s/$$/llvmgcc.nodebug/ > Output/$*.llvmgcc.nodebug.time
+ 
+ Output/%.llvmgcc.debug.o: %.c Output/.dir $(LLVMGCC)
+ 	@-(time -p $(LLVMGCC) $*.c -O0 -g -c -o $@) 2>&1 | \
+ 	  sed -e s/$$/llvmgcc.debug/ > Output/$*.llvmgcc.debug.time
+ 
+ 
+ Output/%.time:  Output/%.o
+ 	@echo "" > /dev/null
+ 
+ 
+ Output/%.gcc.nodebug.size: Output/%.gcc.nodebug.o
+ 	@-size Output/$*.gcc.nodebug.o 2>&1 | \
+ 	  sed -e s/$$/gcc.nodebug/ > $@
+ 	@-size -m Output/$*.gcc.nodebug.o 2>&1 | \
+ 	  sed -e s/$$/gcc.nodebug/ >> $@
+ 
+ Output/%.gcc.debug.size: Output/%.gcc.debug.o
+ 	@-size Output/$*.gcc.debug.o 2>&1 | \
+ 	  sed -e s/$$/gcc.debug/ > $@
+ 	@-size -m Output/$*.gcc.debug.o 2>&1 | \
+ 	  sed -e s/$$/gcc.debug/ >> $@
+ 
+ Output/%.llvmgcc.nodebug.size: Output/%.llvmgcc.nodebug.o
+ 	@-size Output/$*.llvmgcc.nodebug.o 2>&1 | \
+ 	  sed -e s/$$/llvmgcc.nodebug/ > $@
+ 	@-size -m Output/$*.llvmgcc.nodebug.o 2>&1 | \
+ 	  sed -e s/$$/llvmgcc.nodebug/ >> $@
+ 
+ Output/%.llvmgcc.debug.size: Output/%.llvmgcc.debug.o
+ 	@-size Output/$*.llvmgcc.debug.o 2>&1 | \
+ 	  sed -e s/$$/llvmgcc.debug/ > $@
+ 	@-size -m Output/$*.llvmgcc.debug.o 2>&1 | \
+ 	  sed -e s/$$/llvmgcc.debug/ >> $@


Index: llvm-test/TEST.fourway.Makefile
diff -u llvm-test/TEST.fourway.Makefile:1.1 llvm-test/TEST.fourway.Makefile:1.2
--- llvm-test/TEST.fourway.Makefile:1.1	Fri Dec  8 10:12:15 2006
+++ llvm-test/TEST.fourway.Makefile	Sat Dec  9 03:40:31 2006
@@ -1,83 +1,30 @@
 ##===- TEST.fourway.Makefile -------------------------------*- Makefile -*-===##
 #
-# This test tries running the compiler on all of the programs and
-# reports on detailed compile time and resulting sizes.
+# This test tries running the gcc and llvm-gcc compilers on all of the programs
+# with and without debuginfo and reports on compile time and resulting sizes.
 #
 ##===----------------------------------------------------------------------===##
 
-Output/%.report.$(TEST).txt:
-	@echo "---------------------------------------------------------------"
-	@echo ">>> ========= '$*' Program"
-	@echo "---------------------------------------------------------------"
+include $(LEVEL)/fourway.Makefile
 
 $(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
-test.$(TEST).%: $(LLVMGCC) $(LLVMGXX) $(CC) $(CXX) \
+test.$(TEST).%: $(LLVMGCC) $(LLVMGXX) \
 Output/%.report.$(TEST).txt \
-Output/%.$(TEST).gcc.nodebug \
-Output/%.$(TEST).gcc.debug \
-Output/%.$(TEST).llvmgcc.nodebug \
-Output/%.$(TEST).llvmgcc.debug
-	@-cat Output/$*.$(TEST).gcc.nodebug
-	@-cat Output/$*.$(TEST).gcc.debug
-	@-cat Output/$*.$(TEST).llvmgcc.nodebug
-	@-cat Output/$*.$(TEST).llvmgcc.debug
+Output/%.gcc.nodebug.time \
+Output/%.gcc.debug.time \
+Output/%.llvmgcc.nodebug.time \
+Output/%.llvmgcc.debug.time \
+Output/%.gcc.nodebug.size \
+Output/%.gcc.debug.size \
+Output/%.llvmgcc.nodebug.size \
+Output/%.llvmgcc.debug.size
+	@-cat Output/$*.gcc.nodebug.time
+	@-cat Output/$*.gcc.debug.time
+	@-cat Output/$*.llvmgcc.nodebug.time
+	@-cat Output/$*.llvmgcc.debug.time
+	@-cat Output/$*.gcc.nodebug.size
+	@-cat Output/$*.gcc.debug.size
+	@-cat Output/$*.llvmgcc.nodebug.size
+	@-cat Output/$*.llvmgcc.debug.size
 
-%.cpp:
 
-%.c:
-
-Output/%.$(TEST).gcc.nodebug: %.cpp $(CXX)
-	@-mkdir -p Output
-	@echo $@ > $@.tmp
-	@-(time -p $(CXX) $*.cpp -O0 -c -o $@.o) 2> $@.tmp > $@.tmp
-	@-(size $@.o) 2>> $@.tmp >> $@.tmp
-	@-(sed -e s/$$/gcc.nodebug/ $@.tmp) > $@
-
-Output/%.$(TEST).gcc.debug: %.cpp $(CXX)
-	@-mkdir -p Output
-	@echo $@ > $@.tmp
-	@-(time -p $(CXX) $*.cpp -O0 -gdwarf-2 -c -o $@.o) 2> $@.tmp > $@.tmp
-	@-(size $@.o) 2>> $@.tmp >> $@.tmp
-	@-(sed -e s/$$/gcc.debug/ $@.tmp) > $@
-
-Output/%.$(TEST).llvmgcc.nodebug: %.cpp $(LLVMGXX)
-	@-mkdir -p Output
-	@echo $@ > $@.tmp
-	@-(time -p $(LLVMGXX) $*.cpp -O0 -c -o $@.o) 2> $@.tmp > $@.tmp
-	@-(size $@.o) 2>> $@.tmp >> $@.tmp
-	@-(sed -e s/$$/llvmgcc.nodebug/ $@.tmp) > $@
-
-Output/%.$(TEST).llvmgcc.debug: %.cpp $(LLVMGXX)
-	@-mkdir -p Output
-	@echo $@ > $@.tmp
-	@-(time -p $(LLVMGXX) $*.cpp -O0 -g -c -o $@.o) 2> $@.tmp > $@.tmp
-	@-(size $@.o) 2>> $@.tmp >> $@.tmp
-	@-(sed -e s/$$/llvmgcc.debug/ $@.tmp) > $@
-
-Output/%.$(TEST).gcc.nodebug: %.c $(CC)
-	@-mkdir -p Output
-	@echo $@ > $@.tmp
-	@-(time -p $(CC) $*.c -O0 -c -o $@.o) 2> $@.tmp > $@.tmp
-	@-(size $@.o) 2>> $@.tmp >> $@.tmp
-	@-(sed -e s/$$/gcc.nodebug/ $@.tmp) > $@
-
-Output/%.$(TEST).gcc.debug: %.c $(CC)
-	@-mkdir -p Output
-	@echo $@ > $@.tmp
-	@-(time -p $(CC) $*.c -O0 -gdwarf-2 -c -o $@.o) 2> $@.tmp > $@.tmp
-	@-(size $@.o) 2>> $@.tmp >> $@.tmp
-	@-(sed -e s/$$/gcc.debug/ $@.tmp) > $@
-
-Output/%.$(TEST).llvmgcc.nodebug: %.c $(LLVMGCC)
-	@-mkdir -p Output
-	@echo $@ > $@.tmp
-	@-(time -p $(LLVMGCC) $*.c -O0 -c -o $@.o) 2> $@.tmp > $@.tmp
-	@-(size $@.o) 2>> $@.tmp >> $@.tmp
-	@-(sed -e s/$$/llvmgcc.nodebug/ $@.tmp) > $@
-
-Output/%.$(TEST).llvmgcc.debug: %.c $(LLVMGCC)
-	@-mkdir -p Output
-	@echo $@ > $@.tmp
-	@-(time -p $(LLVMGCC) $*.c -O0 -g -c -o $@.o) 2> $@.tmp > $@.tmp
-	@-(size $@.o) 2>> $@.tmp >> $@.tmp
-	@-(sed -e s/$$/llvmgcc.debug/ $@.tmp) > $@


Index: llvm-test/TEST.fourway.report
diff -u llvm-test/TEST.fourway.report:1.1 llvm-test/TEST.fourway.report:1.2
--- llvm-test/TEST.fourway.report:1.1	Fri Dec  8 10:12:15 2006
+++ llvm-test/TEST.fourway.report	Sat Dec  9 03:40:31 2006
@@ -7,6 +7,11 @@
 # Sort by name
 $SortCol = 1;
 $TrimRepeatedPrefix = 1;
+my $ExtTextSize  = '(\d+)\s+\d+\s+\d+\s+\d+\s+\d+\s+[0-9a-fA-F]+';
+my $ExtDataSize  = '\d+\s+(\d+)\s+\d+\s+\d+\s+\d+\s+[0-9a-fA-F]+';
+my $ExtObjSize   = '\d+\s+\d+\s+(\d+)\s+\d+\s+\d+\s+[0-9a-fA-F]+';
+my $ExtOtherSize = '\d+\s+\d+\s+\d+\s+(\d+)\s+\d+\s+[0-9a-fA-F]+';
+my $ExtTotalSize = '\d+\s+\d+\s+\d+\s+\d+\s+(\d+)\s+[0-9a-fA-F]+';
 
 # These are the columns for the report.  The first entry is the header for the
 # column, the second is the regex to use to match the value.  Empty list create
@@ -16,49 +21,29 @@
  ["Name:" , '\'([^\']+)\' Program'],
  [],
 # Times
- ["Time GND"  , 'real ([0-9.]+)gcc\.nodebug'],
- ["Time GD"  , 'real ([0-9.]+)gcc\.debug'],
- ["Time LND"  , 'real ([0-9.]+)llvmgcc\.nodebug'],
- ["Time LD"  , 'real ([0-9.]+)llvmgcc\.debug'],
+ ["Time GND", 'real ([0-9.]+)gcc\.nodebug'],
+ ["Time GD",  'real ([0-9.]+)gcc\.debug'],
+ ["Time LND", 'real ([0-9.]+)llvmgcc\.nodebug'],
+ ["Time LD",  'real ([0-9.]+)llvmgcc\.debug'],
  [],
 # Text Sizes
- ["Text GND",
-  '([0-9]+)\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9a-fA-F]+gcc.nodebug'],
- ["Text GD",
-  '([0-9]+)\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9a-fA-F]+gcc.debug'],
- ["Text LND",
-  '([0-9]+)\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9a-fA-F]+llvmgcc.nodebug'],
- ["Text LD",
-  '([0-9]+)\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9a-fA-F]+llvmgcc.debug'],
+ ["Text GND", "${ExtTextSize}gcc.nodebug"],
+ ["Text GD",  "${ExtTextSize}gcc.debug"],
+ ["Text LND", "${ExtTextSize}llvmgcc.nodebug"],
+ ["Text LD",  "${ExtTextSize}llvmgcc.debug"],
  [],
 # Data Sizes
- ["Data GND",
-  '[0-9]+\s+([0-9]+)\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9a-fA-F]+gcc.nodebug'],
- ["Data GD",
-  '[0-9]+\s+([0-9]+)\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9a-fA-F]+gcc.debug'],
- ["Data LND",
-  '[0-9]+\s+([0-9]+)\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9a-fA-F]+llvmgcc.nodebug'],
- ["Data LD",
-  '[0-9]+\s+([0-9]+)\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9a-fA-F]+llvmgcc.debug'],
+ ["Data GCC",      "${ExtDataSize}gcc.nodebug"],
+ ["Data LLVM-GCC", "${ExtDataSize}llvmgcc.nodebug"],
  [],
 # Other Sizes
- ["Other GND",
-  '[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+)\s+[0-9]+\s+[0-9a-fA-F]+gcc.nodebug'],
- ["Other GD",
-  '[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+)\s+[0-9]+\s+[0-9a-fA-F]+gcc.debug'],
- ["Other LND",
-  '[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+)\s+[0-9]+\s+[0-9a-fA-F]+llvmgcc.nodebug'],
- ["Other LD",
-  '[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+)\s+[0-9]+\s+[0-9a-fA-F]+llvmgcc.debug'],
+ ["Other(Debug) GCC",      "${ExtOtherSize}gcc.debug"],
+ ["Other(Debug) LLVM-GCC", "${ExtOtherSize}llvmgcc.debug"],
  [],
 # Total Sizes
- ["Total GND",
-  '[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+)\s+[0-9a-fA-F]+gcc.nodebug'],
- ["Total GD",
-  '[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+)\s+[0-9a-fA-F]+gcc.debug'],
- ["Total LND",
-  '[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+)\s+[0-9a-fA-F]+llvmgcc.nodebug'],
- ["Total LD",
-  '[0-9]+\s+[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+)\s+[0-9a-fA-F]+llvmgcc.debug'],
+ ["Total GND", "${ExtTotalSize}gcc.nodebug"],
+ ["Total GD",  "${ExtTotalSize}gcc.debug"],
+ ["Total LND", "${ExtTotalSize}llvmgcc.nodebug"],
+ ["Total LD",  "${ExtTotalSize}llvmgcc.debug"],
  [],
  );






More information about the llvm-commits mailing list