aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-03-28 16:31:21 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-03-28 16:33:34 -0700
commit20bfe6cf840a29d9dad7d7fda5a3001ebe71a3a5 (patch)
tree54f7f7561e911ae76510f1ed97ca40735bb74a7e
parent22bc2ba14a20745dd13a24997caad2d6a63d0974 (diff)
emcc logging improvements
-rwxr-xr-xemcc8
1 files changed, 4 insertions, 4 deletions
diff --git a/emcc b/emcc
index 73ce51aa..20898043 100755
--- a/emcc
+++ b/emcc
@@ -95,8 +95,7 @@ AUTODEBUG = os.environ.get('EMCC_AUTODEBUG') # If set to 1, we will run the auto
# dlmalloc makes it hard to compare native and js builds
EMCC_CFLAGS = os.environ.get('EMCC_CFLAGS') # Additional compiler flags that we treat as if they were passed to us on the commandline
-if DEBUG: logging.warning('invocation: ' + ' '.join(sys.argv) + (' + ' + EMCC_CFLAGS if EMCC_CFLAGS else ''))
-
+if DEBUG: logging.warning('invocation: ' + ' '.join(sys.argv) + (' + ' + EMCC_CFLAGS if EMCC_CFLAGS else '') + ' (in ' + os.getcwd() + ')')
if EMCC_CFLAGS: sys.argv.append(EMCC_CFLAGS)
if DEBUG and LEAVE_INPUTS_RAW: logging.warning('leaving inputs raw')
@@ -975,7 +974,7 @@ try:
# swap in debug logging
DEBUG = 1
shared.set_logging()
- logging.debug('invocation: ' + ' '.join(sys.argv))
+ logging.debug('-v invocation: ' + ' '.join(sys.argv))
shared.apply_configuration() # reset config to pick up change
shared.check_sanity(force=True)
newargs[i] = ''
@@ -1445,9 +1444,10 @@ try:
# we have multiple files: Link them
logging.debug('link: ' + str(temp_files) + specified_target)
shared.Building.link(temp_files, specified_target)
+ logging.debug('stopping at bitcode')
exit(0)
- log_time('bitcodeize inputs')
+ log_time('process inputs')
## Continue on to create JavaScript