diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-23 14:33:23 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-23 14:33:23 -0800 |
commit | 3d4bce8844b3bea7595858eee6221c3ad40fb19b (patch) | |
tree | 9b51d516206b747db9fd0e0a911752786848bdc3 /tools/shared.py | |
parent | dce808a762b84397d2b0811b8a4f36d1743fd0c2 (diff) |
commented out debugging tip
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py index 0a748016..ebf803da 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -829,6 +829,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)''' % { 'winfix': '' if not WINDOWS e def llvm_opt(filename, opts): if type(opts) is int: opts = Building.pick_llvm_opts(opts) + #opts += ['-debug-pass=Arguments'] if DEBUG: print >> sys.stderr, 'emcc: LLVM opts:', opts output = Popen([LLVM_OPT, filename] + opts + ['-o=' + filename + '.opt.bc'], stdout=PIPE).communicate()[0] assert os.path.exists(filename + '.opt.bc'), 'Failed to run llvm optimizations: ' + output |