summaryrefslogtreecommitdiff
path: root/tools/llvmc
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
commit9f2a0802e548d07946e6ad47cb06b53c105bdb65 (patch)
treef0c8792c4c9bef7966166bdf3414a022bbd1f36c /tools/llvmc
parenta04d4ed690505b4474fd272d260512b23288aac2 (diff)
downloadllvm-9f2a0802e548d07946e6ad47cb06b53c105bdb65.tar.gz
llvm-9f2a0802e548d07946e6ad47cb06b53c105bdb65.tar.bz2
llvm-9f2a0802e548d07946e6ad47cb06b53c105bdb65.tar.xz
Support '-install_name'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc')
-rw-r--r--tools/llvmc/plugins/Base/Base.td.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/llvmc/plugins/Base/Base.td.in b/tools/llvmc/plugins/Base/Base.td.in
index 1acd969d4c..284c5f95fb 100644
--- a/tools/llvmc/plugins/Base/Base.td.in
+++ b/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