OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38b6fd6
)
Add a '-Wo,' option that passes options to opt.
author
Mikhail Glushenkov
<foldr@codedgers.com>
Thu, 11 Dec 2008 22:19:14 +0000
(22:19 +0000)
committer
Mikhail Glushenkov
<foldr@codedgers.com>
Thu, 11 Dec 2008 22:19:14 +0000
(22:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60902
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvmc/plugins/Base/Base.td
patch
|
blob
|
history
diff --git
a/tools/llvmc/plugins/Base/Base.td
b/tools/llvmc/plugins/Base/Base.td
index
38455a9
..
18372de
100644
(file)
--- a/
tools/llvmc/plugins/Base/Base.td
+++ b/
tools/llvmc/plugins/Base/Base.td
@@
-43,7
+43,9
@@
def OptList : OptionList<[
(prefix_list_option "l",
(help "Search a library when linking")),
(prefix_list_option "Wl,",
- (help "Pass options to linker"))
+ (help "Pass options to linker")),
+ (prefix_list_option "Wo,",
+ (help "Pass options to opt"))
]>;
// Tools
@@
-86,6
+88,7
@@
def opt : Tool<
[(in_language "llvm-bitcode"),
(out_language "llvm-bitcode"),
(output_suffix "bc"),
+ (actions (case (not_empty "Wo,"), (unpack_values "Wo,"))),
(cmd_line "opt -f $INFILE -o $OUTFILE")
]>;