diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-09-02 14:06:21 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-09-02 14:06:21 +0000 |
commit | 743547f07bb4a0c43953f5bb23904815f46abb9d (patch) | |
tree | 89b663bdb020e19542fcdb811a3212ab7673d42d /tools/llvmc | |
parent | 8cf2663227c357437bd67ff4ce54683b540f5318 (diff) | |
download | external_llvm-743547f07bb4a0c43953f5bb23904815f46abb9d.zip external_llvm-743547f07bb4a0c43953f5bb23904815f46abb9d.tar.gz external_llvm-743547f07bb4a0c43953f5bb23904815f46abb9d.tar.bz2 |
llvmc: .dylib support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc')
-rw-r--r-- | tools/llvmc/src/Base.td.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvmc/src/Base.td.in b/tools/llvmc/src/Base.td.in index afc4053..0c4de4c 100644 --- a/tools/llvmc/src/Base.td.in +++ b/tools/llvmc/src/Base.td.in @@ -262,7 +262,7 @@ def llc : Tool< // Base class for linkers class llvm_gcc_based_linker <string cmd_prefix, dag on_empty> : Tool< -[(in_language ["object-code", "static-library"]), +[(in_language ["object-code", "static-library", "dynamic-library"]), (out_language "executable"), (output_suffix "out"), (command cmd_prefix), @@ -321,6 +321,7 @@ def LanguageMap : LanguageMap<[ (lang_to_suffixes "llvm-bitcode", "bc"), (lang_to_suffixes "object-code", ["o", "*empty*"]), (lang_to_suffixes "static-library", ["a", "lib"]), + (lang_to_suffixes "dynamic-library", ["so", "dylib", "dll"]), (lang_to_suffixes "executable", ["out"]) ]>; |