[llvm-commits] CVS: llvm-gcc/gcc/llvm-out.c
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 18 10:06:50 PST 2004
Changes in directory llvm-gcc/gcc:
llvm-out.c updated: 1.4 -> 1.5
---
Log message:
Get the target triple into the .ll file.
---
Diffs of the changes: (+1 -1)
Index: llvm-gcc/gcc/llvm-out.c
diff -u llvm-gcc/gcc/llvm-out.c:1.4 llvm-gcc/gcc/llvm-out.c:1.5
--- llvm-gcc/gcc/llvm-out.c:1.4 Mon Sep 27 22:37:39 2004
+++ llvm-gcc/gcc/llvm-out.c Thu Nov 18 12:06:36 2004
@@ -103,7 +103,7 @@
/* Add a blank line here so it appears in assembler output but not
screen output. */
fprintf (llvm_out_file, "\n");
-
+ fprintf(llvm_out_file, "target triple = \"%s\"\n",DEFAULT_TARGET_MACHINE);
fprintf(llvm_out_file, "target pointersize = %d\n", POINTER_SIZE);
fprintf(llvm_out_file, "target endian = %s\n",
(BYTES_BIG_ENDIAN) ? "big" : "little");
More information about the llvm-commits
mailing list