aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-23 12:32:54 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-23 12:32:54 -0800
commitb815c4536447aebdb1377b9325efe121fd17c5db (patch)
tree8c2c8b81e1cedd0df459a3fbf147ae57c74c3a49
parent4de234f25d3eb0216f77702755c5020e02e80c3a (diff)
emcc debug info
-rwxr-xr-xemcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/emcc b/emcc
index 72dbaa6f..01219760 100755
--- a/emcc
+++ b/emcc
@@ -473,6 +473,7 @@ try:
process(final)
if DEBUG:
+ print >> sys.stderr, 'emcc: saving intermediate processing steps to %s' % shared.EMSCRIPTEN_TEMP_DIR
shutil.copyfile(final, os.path.join(shared.EMSCRIPTEN_TEMP_DIR, 'emcc-0.js'))
final = shared.Building.js_optimizer(final, []) # Clean up the syntax a bit, so comparisons to later passes are simpler
shutil.copyfile(final, os.path.join(shared.EMSCRIPTEN_TEMP_DIR, 'emcc-1.js'))