[llvm-commits] CVS: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.c util.h

Chris Lattner lattner at cs.uiuc.edu
Thu Jul 22 09:31:28 PDT 2004



Changes in directory llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl:

util.c updated: 1.1 -> 1.2
util.h updated: 1.2 -> 1.3

---
Log message:


For some reason this test magically started failing last night due to the 
definition of fatal. Looking at it, I don't see how it could have worked in
the first place, so just comment the silly thing out.

Also, remove stupid CVS logs



---
Diffs of the changes:  (+8 -28)

Index: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.c
diff -u llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.c:1.1 llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.c:1.2
--- llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.c:1.1	Tue Feb 17 16:21:17 2004
+++ llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.c	Thu Jul 22 11:31:17 2004
@@ -1,22 +1,10 @@
-/* $RCSfile: util.c,v $$Revision: 1.1 $$Date: 2004/02/17 22:21:17 $
+/* $RCSfile: util.c,v $$Revision: 1.2 $$Date: 2004/07/22 16:31:17 $
  *
  *    Copyright (c) 1989, Larry Wall
  *
  *    You may distribute under the terms of the GNU General Public License
  *    as specified in the README file that comes with the perl 3.0 kit.
  *
- * $Log: util.c,v $
- * Revision 1.1  2004/02/17 22:21:17  criswell
- * Initial commit of the perl Malloc Benchmark.  I've cheated a little by
- * generating the yacc output files and committing them directly, but it was
- * easier than disabling the Bison Voodoo that gets executed by default.
- *
- * Revision 4.0.1.1  91/04/12  09:19:25  lwall
- * patch1: random cleanup in cpp namespace
- * 
- * Revision 4.0  91/03/20  01:56:39  lwall
- * 4.0 baseline.
- * 
  */
 
 #include "EXTERN.h"
@@ -810,6 +798,7 @@
 }
 
 /*VARARGS1*/
+#if 0
 fatal(pat,a1,a2,a3,a4)
 char *pat;
 long a1, a2, a3, a4;
@@ -851,6 +840,7 @@
     statusvalue >>= 8;
     exit((int)((errno&255)?errno:((statusvalue&255)?statusvalue:255)));
 }
+#endif
 
 /*VARARGS1*/
 warn(pat,a1,a2,a3,a4)


Index: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.h
diff -u llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.h:1.2 llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.h:1.3
--- llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.h:1.2	Wed Jul 21 09:09:51 2004
+++ llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.h	Thu Jul 22 11:31:17 2004
@@ -1,22 +1,10 @@
-/* $Header: /home/vadve/shared/PublicCVS/llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.h,v 1.2 2004/07/21 14:09:51 brukman Exp $
+/* $Header: /home/vadve/shared/PublicCVS/llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/util.h,v 1.3 2004/07/22 16:31:17 lattner Exp $
  *
  *    Copyright (c) 1989, Larry Wall
  *
  *    You may distribute under the terms of the GNU General Public License
  *    as specified in the README file that comes with the perl 3.0 kit.
  *
- * $Log: util.h,v $
- * Revision 1.2  2004/07/21 14:09:51  brukman
- * Add missing function declarations.
- *
- * Revision 1.1  2004/02/17 22:21:17  criswell
- * Initial commit of the perl Malloc Benchmark.  I've cheated a little by
- * generating the yacc output files and committing them directly, but it was
- * easier than disabling the Bison Voodoo that gets executed by default.
- *
- * Revision 4.0  91/03/20  01:56:48  lwall
- * 4.0 baseline.
- * 
  */
 
 EXT int *screamfirst INIT(Null(int*));
@@ -48,5 +36,7 @@
 #endif
 unsigned long scanoct();
 unsigned long scanhex();
-void fatal(char*,long,long,long,long);
-void fatal(va_list);
+//void fatal(char*,long,long,long,long);
+//void fatal(va_list);
+
+#define fatal(X, ...) do { printf(X); abort(); } while (0)





More information about the llvm-commits mailing list