diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-30 15:27:42 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-30 15:27:42 -0700 |
commit | 9da23d106c4d720cbe491aabf1d557e1bf6f2ce2 (patch) | |
tree | ef303730ce48e68479c5ef8a07a5613c646f11d4 /tools/shared.py | |
parent | 9f7141e270a20f64dc1ed7789d05d51fa8bc393a (diff) | |
parent | 4e409bd1b7ba2206af823f44a3f02f5ae45e1bcd (diff) |
Merge pull request #997 from waywardmonkeys/remove-extract
Remove unused llvm-extract stuff.
Diffstat (limited to 'tools/shared.py')
-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) |