diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-18 12:52:41 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-18 12:52:41 -0800 |
commit | 767553991644503fcc845a32449dc3ee147c7a1e (patch) | |
tree | 8e3f7dc625742101c4f7139787a00b837d35be3a /emcc | |
parent | a324efc5ed5f638ea4cb6f3d26def70301d368ed (diff) |
remove LLVM debug info in -O1+, since the optimizer removes it anyhow
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1104,7 +1104,7 @@ try: # Optimize, if asked to if not LEAVE_INPUTS_RAW: - link_opts = [] if keep_debug else ['-strip-debug'] + link_opts = [] if keep_debug and opt_level == 0 else ['-strip-debug'] # remove LLVM debug info in -O1+, since the optimizer removes it anyhow if llvm_opts > 0: shared.Building.llvm_opt(in_temp(target_basename + '.bc'), llvm_opts) if DEBUG: save_intermediate('opt', 'bc') |