Alon Zakai
c4038a1fc9
handle --default-object-ext properly, and other emcc fixes
2014-03-26 10:43:07 -07:00
Alon Zakai
78d5d9c1e1
let emcc directly access bitcode files when possible, to emit proper .d files and avoid unnecessary copies
2014-03-25 17:55:34 -07:00
Alon Zakai
5817cd8af0
--emit-symbol-map option
2014-03-24 20:23:11 -07:00
Alon Zakai
5cd4da6dee
comment on webrtc test
2014-03-18 12:25:55 -07:00
Alon Zakai
dc797a4570
make simplifyIfs a settings option
2014-03-17 17:56:17 -07:00
Alon Zakai
6c31546ced
uncommaify between ifs that can potentially be simplified
2014-03-17 17:56:17 -07:00
Alon Zakai
3215f80b20
simplifyIfs js optimizer pass
2014-03-17 17:56:17 -07:00
Alon Zakai
355a67d3a1
add -profiling option
2014-03-14 19:56:21 -07:00
Alon Zakai
f69f770f7c
improve CHECK_HEAP_ALIGN message
2014-03-11 10:07:48 -07:00
Alon Zakai
131713b71a
avoid llvm-dis when using save-bc in fastcomp
2014-03-10 14:16:11 -07:00
Alon Zakai
54b0f19d9e
forward CLOSURE_COMPILER to settings, and use that to avoid a closure-specific workaround for Module detection; fixes #2209
2014-03-10 13:24:37 -07:00
Alon Zakai
b2f504275d
add commented out line to help debugging llvm opt aborts
2014-03-06 11:42:43 -08:00
Alon Zakai
20d5ffb592
add docs and testing for mem init file being async
2014-03-06 11:42:43 -08:00
Alon Zakai
8acb7867b3
make NO_EXIT_RUNTIME work properly with llvm lto
2014-02-27 16:02:53 -08:00
Alon Zakai
b4605f200c
run -globalopt when NO_EXIT_RUNTIME, to get rid of global initializers entirely in some cases
2014-02-27 12:47:33 -08:00
Alon Zakai
d57fad6e2f
support -Os and -Oz as arguments to emcc
2014-02-27 12:47:33 -08:00
Alon Zakai
28cd0d4f2b
improve -v output, and add some docs
2014-02-26 10:56:22 -08:00
Alon Zakai
01efb0bfc5
pass NO_EXIT_RUNTIME flag to fastcomp and add test
2014-02-26 09:48:27 -08:00
Alon Zakai
e2d05d569d
run sanity checks on emcc -v even without inputs
2014-02-25 21:48:03 -08:00
Alon Zakai
52e38c266a
check sanity on emcc -v
2014-02-25 21:45:44 -08:00
Alon Zakai
3e489d4ba4
run a sanity check after clearing the cache
2014-02-25 20:23:56 -08:00
Dan Gohman
264a5a91c4
Introduce the asmjs-unknown-emscripten target triple.
2014-02-25 11:58:52 -08:00
Dan Gohman
e024e7f3ac
Fix a variety of pylint warnings.
2014-02-25 11:58:52 -08:00
Alon Zakai
a75d43ec8d
Merge branch 'fastcomp-by-default' into incoming
2014-02-24 14:33:34 -08:00
Alon Zakai
ae764ac73f
deprecate jcache
2014-02-24 12:36:55 -08:00
Haneef Mubarak
960e1eb848
update year to 2014
2014-02-22 12:12:34 -08:00
Alon Zakai
bc0a257c98
error on CORRUPTION_CHECK in fastcomp
2014-02-21 17:00:24 -08:00
Alon Zakai
005950752c
RUNTIME_TYPE_INFO is not supported in fastcomp
2014-02-21 15:13:03 -08:00
Alon Zakai
91745dd0c8
add message pointing people to the fastcomp wiki page that explains how to disable it, when a compiler setting is not fastcomp-compatible
2014-02-21 11:57:30 -08:00
Alon Zakai
d484101045
avoid warning about aliasing function pointers in fastcomp, it has good debug info on assertions 1 and especially 2 anyhow
2014-02-21 10:58:18 -08:00
Alon Zakai
025dea98e4
turn fastcomp on by default, disabling can be done with EMCC_FAST_COMPILER=0 in the env
2014-02-21 10:10:49 -08:00
Alon Zakai
2f9106e232
error on INIT_HEAP in fastcomp
2014-02-19 13:20:45 -08:00
Alon Zakai
722a170453
support reserved function pointers in fastcomp
2014-02-17 18:14:59 -08:00
Alon Zakai
36baff8892
error on MAX_SETJMPS changed in fastcomp
2014-02-17 17:19:45 -08:00
Alon Zakai
749325298a
support memory growth in (non-validating) asm.js
2014-02-16 19:28:43 -08:00
Alon Zakai
153f2d9352
RETAIN_COMPILER_SETTINGS, Runtime.getCompilerSetting and emscripten_get_compiler_setting - an optional way to look up compiler flags at runtime
2014-02-16 12:30:22 -08:00
Alon Zakai
ea8830dc5c
improve emcc help on shell file, and add minimal shell file example
2014-02-13 14:01:34 -08:00
Alon Zakai
e22e4a8192
optimize redundant frounds in -O3
2014-02-11 15:24:42 -08:00
Dan Gohman
6342cd7fbc
Use -mllvm -disable-llvm-optzns.
...
The -O options affect the clang front-end in a variety of ways, so allow
them to be passed through to clang. To disable just the optimization passes,
use -mllvm -disable-llvm-optzns.
2014-02-10 16:40:31 -08:00
Alon Zakai
4bdc1c2d1d
validate as asm.js in fastcomp -O1 and above, not -O0 output which is very unoptimized
2014-02-10 10:15:05 -08:00
Alon Zakai
079f019c35
detect .C as c; fixes #2109
2014-02-09 20:26:35 -08:00
Alon Zakai
ab1ea19af2
deprecate --split option and disable browser tests using it in fastcomp
2014-02-09 14:50:42 -08:00
Alon Zakai
9faadeb8a4
enable legacy gl emulation in fastcomp
2014-02-09 11:52:02 -08:00
Alon Zakai
b3ab733682
system libs fixes
2014-02-08 20:31:56 -08:00
Alon Zakai
157f3151a4
move system libs calculation to its own file
2014-02-08 12:14:56 -08:00
Alon Zakai
2c1fbefac1
TODO
2014-02-07 16:45:33 -05:00
Alon Zakai
4a2e11d8d4
move deps info to file
2014-02-07 16:43:18 -05:00
Alon Zakai
94c4724ebf
make sdl malloc hack nicer, and improve back deps trick
2014-02-07 13:45:15 -05:00
Alon Zakai
534faf1530
add mechanism to add a C library dependency from a JS library, in emcc
2014-02-07 13:36:50 -05:00
Alon Zakai
f546a415cc
do not include system libs in shared libs
2014-02-07 11:32:53 -05:00