summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-02-23 09:04:18 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-02-23 09:04:18 +0000
commit23cce8188bf4d14cd5b5ca37b5196f2cf7c620d7 (patch)
treea82892f7c5acb87b4a1eb198c95ee077e9c977cd
parente499d576a901412fb6817af767eed19311df0fdd (diff)
downloadbcm5719-llvm-23cce8188bf4d14cd5b5ca37b5196f2cf7c620d7.tar.gz
bcm5719-llvm-23cce8188bf4d14cd5b5ca37b5196f2cf7c620d7.zip
Support '-install_name'.
llvm-svn: 96917
-rw-r--r--llvm/tools/llvmc/plugins/Base/Base.td.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/tools/llvmc/plugins/Base/Base.td.in b/llvm/tools/llvmc/plugins/Base/Base.td.in
index 1acd969d4ca..284c5f95fbe 100644
--- a/llvm/tools/llvmc/plugins/Base/Base.td.in
+++ b/llvm/tools/llvmc/plugins/Base/Base.td.in
@@ -105,6 +105,8 @@ def OptList : OptionList<[
(help "Remove unreachable blocks of code")),
(switch_option "single_module", (hidden),
(help "Build the library so it contains only one module")),
+ (parameter_option "install_name", (hidden),
+ (help "File name the library will be installed in")),
(parameter_option "compatibility_version", (hidden),
(help "Compatibility version number")),
(parameter_option "current_version", (hidden),
@@ -258,8 +260,8 @@ class llvm_gcc_based_linker <string cmd_prefix> : Tool<
(switch_on "single_module"), (forward "single_module"),
(not_empty "compatibility_version"),
(forward "compatibility_version"),
- (not_empty "current_version"),
- (forward "current_version")))
+ (not_empty "current_version"), (forward "current_version"),
+ (not_empty "install_name"), (forward "install_name")))
]>;
// Default linker
OpenPOWER on IntegriCloud