summaryrefslogtreecommitdiff
path: root/tools/llvmc/plugins
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-12-01 06:51:30 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-12-01 06:51:30 +0000
commit97955005b3587e2b8bdc493b24548a20e17247d2 (patch)
treec8ffaf362400abe964d2673067e86d54dba8395a /tools/llvmc/plugins
parent156cf873e5495740e42923c32aae9fd2185f968e (diff)
downloadllvm-97955005b3587e2b8bdc493b24548a20e17247d2.tar.gz
llvm-97955005b3587e2b8bdc493b24548a20e17247d2.tar.bz2
llvm-97955005b3587e2b8bdc493b24548a20e17247d2.tar.xz
Forward -save-temps to llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/plugins')
-rw-r--r--tools/llvmc/plugins/Base/Base.td.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvmc/plugins/Base/Base.td.in b/tools/llvmc/plugins/Base/Base.td.in
index 0f481e270d..4acb1bd921 100644
--- a/tools/llvmc/plugins/Base/Base.td.in
+++ b/tools/llvmc/plugins/Base/Base.td.in
@@ -111,6 +111,7 @@ class llvm_gcc_based <string cmd_prefix, string in_lang, string E_ext> : Tool<
(and (switch_on "emit-llvm"), (switch_on "c")), (stop_compilation),
(switch_on "fsyntax-only"), (stop_compilation),
(not_empty "include"), (forward "include"),
+ (not_empty "save-temps"), (append_cmd "-save-temps"),
(not_empty "I"), (forward "I"),
(not_empty "F"), (forward "F"),
(not_empty "D"), (forward "D"),