aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CompilerDriver/Tools.td
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CompilerDriver/Tools.td')
-rw-r--r--include/llvm/CompilerDriver/Tools.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CompilerDriver/Tools.td b/include/llvm/CompilerDriver/Tools.td
index 4ff1a52822..fa2cd33ffb 100644
--- a/include/llvm/CompilerDriver/Tools.td
+++ b/include/llvm/CompilerDriver/Tools.td
@@ -25,6 +25,8 @@ def llvm_gcc_c : Tool<
"llvm-gcc -c -x c $INFILE",
(default),
"llvm-gcc -c -x c $INFILE -o $OUTFILE -emit-llvm")),
+ (switch_option "emit-llvm", (stop_compilation),
+ (help "Emit LLVM intermediate files instead of native object files")),
(switch_option "E", (stop_compilation),
(help "Stop after the preprocessing stage, do not run the compiler")),
(switch_option "fsyntax-only", (stop_compilation),