[llvm-commits] [llvm-gcc-4.2] r46860 - /llvm-gcc-4.2/trunk/gcc/gcc.c
Devang Patel
dpatel at apple.com
Thu Feb 7 11:31:11 PST 2008
Author: dpatel
Date: Thu Feb 7 13:31:10 2008
New Revision: 46860
URL: http://llvm.org/viewvc/llvm-project?rev=46860&view=rev
Log:
Appropriate translate --emit-llvm for non-darwin target also.
Modified:
llvm-gcc-4.2/trunk/gcc/gcc.c
Modified: llvm-gcc-4.2/trunk/gcc/gcc.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/gcc.c?rev=46860&r1=46859&r2=46860&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/gcc.c (original)
+++ llvm-gcc-4.2/trunk/gcc/gcc.c Thu Feb 7 13:31:10 2008
@@ -1145,8 +1145,10 @@
{"--dependencies", "-M", 0},
{"--dump", "-d", "a"},
{"--dumpbase", "-dumpbase", "a"},
- /* LLVM LOCAL */
- {"--emit-llvm", "-emit-llvm", 0 },
+ /* LLVM LOCAL begin */
+ {"--emit-llvm", "-Zemit-llvm", 0 },
+ {"-emit-llvm", "-Zemit-llvm", 0 },
+ /* LLVM LOCAL end */
{"--encoding", "-fencoding=", "aj"},
{"--entry", "-e", 0},
{"--extra-warnings", "-W", 0},
More information about the llvm-commits
mailing list