diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-11-19 04:15:56 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-11-19 04:15:56 +0000 |
commit | 911cfdb7d7710ddc29aa3e37931d0bc03af5a7e7 (patch) | |
tree | bec2b51264f40aa9f5c324f0a4302312768facf8 /include/llvm/CompilerDriver/Tools.td | |
parent | ff6477b7203b613b6f73a884352bbb421be30f5a (diff) |
LLVMC2: -emit-llvm stops compilation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CompilerDriver/Tools.td')
-rw-r--r-- | include/llvm/CompilerDriver/Tools.td | 2 |
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), |