aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/exec_llvm.py2
-rw-r--r--tools/shared.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/exec_llvm.py b/tools/exec_llvm.py
index aa18aa2b..3b08111a 100755
--- a/tools/exec_llvm.py
+++ b/tools/exec_llvm.py
@@ -41,8 +41,6 @@ def path_from_root(*pathelems):
return os.path.join(os.path.sep, *(abspath.split(os.sep)[:-1] + list(pathelems)))
exec(open(path_from_root('tools', 'shared.py'), 'r').read())
-print '// EXEC_LLVM: ', sys.argv
-
Popen([LLVM_OPT, sys.argv[1], '-strip-debug', '-o=' + sys.argv[1]+'.clean.bc']).communicate()[0]
# Execute with empty environment - just like the JS script will have
diff --git a/tools/shared.py b/tools/shared.py
index 93c417a1..029ca2f4 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -23,6 +23,7 @@ LLVM_INTERPRETER=os.path.expanduser(os.path.join(LLVM_ROOT, 'lli'))
LLVM_COMPILER=os.path.expanduser(os.path.join(LLVM_ROOT, 'llc'))
BINDINGS_GENERATOR = path_from_root('tools', 'bindings_generator.py')
+EXEC_LLVM = path_from_root('tools', 'exec_llvm.py')
# Engine tweaks