aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-11 20:46:28 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-11 20:46:28 -0800
commit6eb54af2d01cc9455ccac5cd084ac164db6e613c (patch)
treeeab522221fec2f5cedbeab2ef1b3d66f26aefbc9 /tools
parent95c142a60924eede921a2ba9e92c7db21128e5d1 (diff)
improve logging of opts
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 764877ba..a675501f 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -1167,7 +1167,7 @@ class Building:
#opts += ['-debug-pass=Arguments']
if get_clang_version() == '3.4' and not Settings.SIMD:
opts += ['-disable-loop-vectorization', '-disable-slp-vectorization'] # llvm 3.4 has these on by default
- logging.debug('emcc: LLVM opts: ' + str(opts))
+ logging.debug('emcc: LLVM opts: ' + ' '.join(opts))
target = out or (filename + '.opt.bc')
output = Popen([LLVM_OPT, filename] + opts + ['-o', target], stdout=PIPE).communicate()[0]
assert os.path.exists(target), 'Failed to run llvm optimizations: ' + output