Alon Zakai
b24449a907
simplify initial prettify phase in EMCC_DEBUG=2
2014-10-29 15:36:13 -07:00
Alon Zakai
d594ae6894
experimental option to emit JSON in EMCC_DEBUG=2 interim phases
2014-10-29 13:53:30 -07:00
Alon Zakai
0be6440dec
use system libs args processing in precompiled headers
2014-10-28 17:28:44 -07:00
Alon Zakai
eb6ac90760
EMULATE_FUNCTION_POINTER_CASTS option
2014-10-22 16:24:26 -07:00
Bruce Mitchener
5fce62d93c
[embind] Minimum RESERVED_FUNCITON_POINTERS not needed.
...
embind no longer calls Runtime.addFunction(), so a minimum
number of RESERVED_FUNCTION_POINTERS are no longer needed.
2014-10-22 13:26:24 +07:00
Alon Zakai
a7659ccb60
add emcc --show-ports
2014-10-21 13:17:27 -07:00
Alon Zakai
1d881c7d93
allow --clear-cache and --clear-ports in the same command
2014-10-21 11:21:22 -07:00
juj
e5025fe17a
Merge pull request #2898 from lovasoa/patch-2
...
Qick & dirty fix for #2836
2014-10-21 17:54:53 +03:00
Alon Zakai
4635342807
emcc --clear-ports option
2014-10-20 11:12:57 -07:00
Ophir LOJKINE
12aaad6e71
Qick & dirty fix for #2836
2014-10-19 20:56:53 +02:00
Alon Zakai
0c13a44534
move all ports specific code into separate files under tools/ports/ #2404
2014-10-18 12:04:53 -07:00
Alon Zakai
430989d06f
determine SDL system include paths in system_libs.py; #2404
2014-10-17 17:22:26 -07:00
Alon Zakai
95e003622b
preparations for emscripten-ports support; #2404
2014-10-17 17:03:25 -07:00
Alon Zakai
3b656a8133
Merge branch 'incoming' into emterpreter
2014-10-17 10:55:47 -07:00
Bruce Mitchener
941145eee1
Centralize --em-config handling.
...
Per request of Alon.
2014-10-16 07:19:49 +07:00
Alon Zakai
e084763951
Merge branch 'incoming' into emterpreter
...
Conflicts:
src/preamble.js
2014-10-15 13:28:00 -07:00
Alon Zakai
a8c8fadea6
finalize saved original code when it will be swapped in
2014-10-13 17:03:12 -07:00
Alon Zakai
722d8d4495
allow adding more functions to emterpreter blacklist
2014-10-10 11:04:35 -07:00
Bruce Mitchener
a223291dff
Configure the Emscripten cache directory from the command line.
...
This allows passing --cache to emcc to set the Emscripten cache
directory rather than only allowing this to be configured via
the EM_CACHE environment variable.
2014-10-10 17:58:03 +07:00
Alon Zakai
4fcace592c
make emterpreter optimization story more regular
2014-10-09 19:52:17 -07:00
Alon Zakai
3382b64a92
simple calculation of which variables need a zeroinit
2014-10-08 17:33:52 -07:00
Alon Zakai
7da4b18323
ensureLabelSet pass, and use it to avoid zeroing out all local vars in emterpreter
2014-10-06 12:18:15 -07:00
Alon Zakai
848eff209e
assume we have a full stack frame at the bottom of memory
2014-10-03 13:26:49 -07:00
Alon Zakai
c0a095052d
localCSE pass for emterpreter
2014-10-01 17:39:14 -07:00
Alon Zakai
e9642376f9
Merge branch 'incoming' into emterpreter
...
Conflicts:
emscripten.py
tests/test_core.py
tools/js-optimizer.js
2014-10-01 13:26:31 -07:00
Alon Zakai
af6b6f28aa
detect empty mem inits, but only emit them when emterpreting
2014-09-26 14:46:06 -07:00
Alon Zakai
de774e350a
add EMCC_JSOPT_BLACKLIST env var; fixes #2819
2014-09-25 16:46:18 -07:00
Alon Zakai
3128442e9d
ensure global names are unminified for emterpreter, for now
2014-09-24 17:25:02 -07:00
Alon Zakai
8b1ad9f6fe
check for mem init file for emterpreter
2014-09-22 14:15:32 -07:00
Alon Zakai
5b913ef705
EMTERPRETIFY option in emcc
2014-09-22 14:12:02 -07:00
Alon Zakai
dd2167dc45
do not warn on missing builtin libs like GL; #2808
2014-09-19 14:45:50 -07:00
Alon Zakai
c3e1ca251f
fix regression from fcd39b851e
on not optimizing files when -c provided without an -o
2014-09-18 11:53:45 -07:00
Alon Zakai
4faebc9fca
do not cleanup non-asm code if not finalizing
2014-09-16 15:35:58 -07:00
Alon Zakai
cb9477c41c
Merge pull request #2767 from rfk/rfk/lto-using-llvm-opts
...
Respect --llvm-opts when performing --llvm-lto=2
2014-09-10 20:27:07 -07:00
Alon Zakai
d849f3a31b
add general FINALIZE_ASM_JS for modes that need to avoid finalization, like side modules
2014-09-07 17:46:43 -07:00
Alon Zakai
7d11d3f379
refactor asmLastOpts to be called explicitly
2014-09-07 17:46:43 -07:00
Jukka Jylänki
882c16c7a6
Support --profiling in addition to -profiling, following the 'two dashes for words, one dash for letters convention.' Fixes #2679
2014-09-07 06:52:06 -04:00
Ryan Kelly
66553e26a8
Respect --llvm-opts when performing --llvm-lto=2
2014-09-07 17:02:29 +10:00
Bruce Mitchener
466e8715e7
[tracing] Integrate the tracing stuff.
2014-09-06 02:44:21 +07:00
Alon Zakai
8baf8346fd
experimental POINTER_MASKING option
2014-09-04 14:19:13 -07:00
Jukka Jylänki
b233147216
Implement a warning message when building an dynamic library .so, .dll or a .dylib, which are currently not supported. Closes #2562 .
2014-08-27 11:53:46 +03:00
Jukka Jylänki
87fcddc5f7
Make is_valid_abspath use path_from_root() to be more precise about what Emscripten root directory is.
2014-08-26 12:15:32 +03:00
Alon Zakai
63614dce21
improve warning
2014-08-25 11:24:22 -07:00
Jukka Jylanki
ff01ebc7de
Silence a lot of the absolute path include warnings by always accepting any path that has the directory emscripten in it.
2014-08-25 14:21:58 +03:00
Alon Zakai
919556db48
add --closure 2 option, to run closure even on the asm.js output
2014-08-22 13:07:02 -07:00
Alon Zakai
ae14052569
copy mem init file to temp dir, so EMCC_DEBUG intermediate files work in the temp dir
2014-08-22 11:23:12 -07:00
Alon Zakai
8a5c20aaf5
add settings.js note of when we are running fastcomp
2014-08-21 14:47:40 -07:00
Alon Zakai
392e7ff998
clean up emcc --help
2014-08-20 13:10:55 -07:00
Alon Zakai
206b05b7e8
use text output for local doc builds, and make emcc --help read and print its docs
2014-08-20 11:40:04 -07:00
Alon Zakai
f1f5001a0b
make the sphinx emcc docs the single source of information; emcc --help points to the local copy
2014-08-18 11:27:12 -07:00