diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-03-06 11:42:28 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-03-06 11:42:43 -0800 |
commit | b2f504275d57541ae515bf53a0bd2489def1c4b2 (patch) | |
tree | 707020dd574b75090a9e4630d89009c475a9195c | |
parent | 20d5ffb5925d57a5facacce453d4643e8809929d (diff) |
add commented out line to help debugging llvm opt aborts
-rwxr-xr-x | emcc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1378,6 +1378,7 @@ try: if file_ending.endswith(SOURCE_ENDINGS): temp_file = temp_files[i] logging.debug('optimizing %s', input_file) + #if DEBUG: shutil.copyfile(temp_file, os.path.join(TEMP_DIR, 'to_opt.bc') # useful when LLVM opt aborts shared.Building.llvm_opt(temp_file, llvm_opts) # If we were just asked to generate bitcode, stop there |