diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-03-26 10:13:01 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-03-26 10:13:01 +0700 |
commit | 4e409bd1b7ba2206af823f44a3f02f5ae45e1bcd (patch) | |
tree | e5efdb37efb1ccc385d6ede3e4ffb21ed6a64e0b /tools | |
parent | 926a1f21a06442dbcabfce97fef2257641b5c13c (diff) |
Remove unused llvm-extract stuff.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/shared.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/shared.py b/tools/shared.py index c4efc974..d72d2258 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -274,7 +274,6 @@ LLVM_DIS=os.path.expanduser(build_llvm_tool_path('llvm-dis')) LLVM_NM=os.path.expanduser(build_llvm_tool_path('llvm-nm')) LLVM_INTERPRETER=os.path.expanduser(build_llvm_tool_path('lli')) LLVM_COMPILER=os.path.expanduser(build_llvm_tool_path('llc')) -LLVM_EXTRACT=os.path.expanduser(build_llvm_tool_path('llvm-extract')) EMSCRIPTEN = path_from_root('emscripten.py') DEMANGLER = path_from_root('third_party', 'demangler.py') @@ -721,11 +720,6 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)''' % { 'winfix': '' if not WINDOWS e return generated_libs @staticmethod - def remove_symbol(filename, symbol): - Popen([LLVM_EXTRACT, filename, '-delete', '-glob=' + symbol, '-o', filename], stderr=PIPE).communicate() - Popen([LLVM_EXTRACT, filename, '-delete', '-func=' + symbol, '-o', filename], stderr=PIPE).communicate() - - @staticmethod def link(files, target): actual_files = [] unresolved_symbols = set(['main']) # tracking unresolveds is necessary for .a linking, see below. (and main is always a necessary symbol) |