diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-21 17:16:50 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-21 17:16:50 -0800 |
commit | 61e4b6b9d40c966ead0198e9a9a32d1067273ef7 (patch) | |
tree | 1670bd41f00d7075add1be97e4e08b479e81774e /tools/shared.py | |
parent | f8525825f5bc91dbe631d4d9afb1b18c3a0e5f75 (diff) |
do not generate annotations when disassembling bitcode
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/shared.py b/tools/shared.py index 4c6ddc23..f20fc75c 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -90,7 +90,6 @@ LLVM_OPT=os.path.expanduser(os.path.join(LLVM_ROOT, 'opt')) LLVM_AS=os.path.expanduser(os.path.join(LLVM_ROOT, 'llvm-as')) LLVM_DIS=os.path.expanduser(os.path.join(LLVM_ROOT, 'llvm-dis')) LLVM_NM=os.path.expanduser(os.path.join(LLVM_ROOT, 'llvm-nm')) -LLVM_DIS_OPTS = ['-show-annotations'] # For LLVM 2.8+. For 2.7, you may need to do just [] LLVM_INTERPRETER=os.path.expanduser(os.path.join(LLVM_ROOT, 'lli')) LLVM_COMPILER=os.path.expanduser(os.path.join(LLVM_ROOT, 'llc')) COFFEESCRIPT = path_from_root('tools', 'eliminator', 'node_modules', 'coffee-script', 'bin', 'coffee') @@ -469,7 +468,7 @@ class Building: output_filename = input_filename + '.o.ll' input_filename = input_filename + '.o' try_delete(output_filename) - output = Popen([LLVM_DIS, input_filename ] + LLVM_DIS_OPTS + ['-o=' + output_filename], stdout=PIPE).communicate()[0] + output = Popen([LLVM_DIS, input_filename, '-o=' + output_filename], stdout=PIPE).communicate()[0] assert os.path.exists(output_filename), 'Could not create .ll file: ' + output return output_filename |