[llvm-commits] [llvm] r50868 - /llvm/trunk/tools/llvmc2/Tools.td
Mikhail Glushenkov
foldr at codedgers.com
Thu May 8 13:02:36 PDT 2008
Author: foldr
Date: Thu May 8 15:02:36 2008
New Revision: 50868
URL: http://llvm.org/viewvc/llvm-project?rev=50868&view=rev
Log:
Add -E and -S options
Modified:
llvm/trunk/tools/llvmc2/Tools.td
Modified: llvm/trunk/tools/llvmc2/Tools.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc2/Tools.td?rev=50868&r1=50867&r2=50868&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc2/Tools.td (original)
+++ llvm/trunk/tools/llvmc2/Tools.td Thu May 8 15:02:36 2008
@@ -26,6 +26,8 @@
(out_language "llvm-bitcode"),
(output_suffix "bc"),
(cmd_line "llvm-gcc -c -x c $INFILE -o $OUTFILE -emit-llvm"),
+ (switch_option "E", (stop_compilation),
+ (help "Stop after the preprocessing stage, do not run the compiler")),
(sink)
]>;
@@ -34,6 +36,7 @@
(out_language "llvm-bitcode"),
(output_suffix "bc"),
(cmd_line "llvm-g++ -c -x c++ $INFILE -o $OUTFILE -emit-llvm"),
+ (switch_option "E", (stop_compilation)),
(sink)
]>;
@@ -56,6 +59,8 @@
[(in_language "llvm-bitcode"),
(out_language "assembler"),
(output_suffix "s"),
+ (switch_option "S", (stop_compilation),
+ (help "Stop after compilation, do not assemble")),
(cmd_line "llc -f $INFILE -o $OUTFILE")
]>;
More information about the llvm-commits
mailing list