[llvm-commits] CVS: llvm/runtime/GCCLibraries/libgcc/Makefile eprintf.c
Reid Spencer
reid at x10sys.com
Thu Nov 16 19:33:06 PST 2006
Changes in directory llvm/runtime/GCCLibraries/libgcc:
Makefile updated: 1.9 -> 1.10
eprintf.c updated: 1.2 -> 1.3
---
Log message:
Undo removal of the runtime libraries. While this may have been a bit
premature, these libraries will be going away for the 2.0 release. Other
arrangements for profiling, gc, etc. should be made in the next few months.
---
Diffs of the changes: (+29 -0)
Makefile | 16 ++++++++++++++++
eprintf.c | 13 +++++++++++++
2 files changed, 29 insertions(+)
Index: llvm/runtime/GCCLibraries/libgcc/Makefile
diff -u /dev/null llvm/runtime/GCCLibraries/libgcc/Makefile:1.10
--- /dev/null Thu Nov 16 21:32:44 2006
+++ llvm/runtime/GCCLibraries/libgcc/Makefile Thu Nov 16 21:32:33 2006
@@ -0,0 +1,16 @@
+##===- runtime/GCCLibraries/libgcc/Makefile ----------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by the LLVM research group and is distributed under
+# the University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = ../../..
+BYTECODE_LIBRARY = 1
+DONT_BUILD_RELINKED = 1
+LIBRARYNAME = gcc
+BYTECODE_DESTINATION = $(CFERuntimeLibDir)
+
+include $(LEVEL)/Makefile.common
Index: llvm/runtime/GCCLibraries/libgcc/eprintf.c
diff -u /dev/null llvm/runtime/GCCLibraries/libgcc/eprintf.c:1.3
--- /dev/null Thu Nov 16 21:33:06 2006
+++ llvm/runtime/GCCLibraries/libgcc/eprintf.c Thu Nov 16 21:32:33 2006
@@ -0,0 +1,13 @@
+#include <stdio.h>
+void abort(void);
+
+/* This is used by the `assert' macro. */
+void
+__eprintf (const char *string, const char *expression,
+ unsigned int line, const char *filename)
+{
+ fprintf (stderr, string, expression, line, filename);
+ fflush (stderr);
+ abort ();
+}
+
More information about the llvm-commits
mailing list