Граф коммитов

456 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 41ea37201c support relative paths in -s KEY=@path 2013-05-23 18:11:40 -07:00
Michael J. Bishop c5fb79f031 Allowed Emscripten to recognize and compile .m and .mm files
(Objective-C and Objective-C++, respectively)
2013-05-23 11:51:25 -04:00
Alon Zakai 0d4f492e4d remove warning 2013-05-21 20:24:20 -07:00
Alon Zakai 10b69ba439 Merge pull request #1105 from azmeuk/symlink
Symlink support
2013-05-21 16:59:46 -07:00
Andreas Bergmeier 367603568b Remove obsolete (and partly wrong) setup information for CMake and SCons. Use wrappers instead. 2013-05-20 10:30:07 +02:00
Alon Zakai 5c5cbb7b17 docs 2013-05-16 18:53:24 -07:00
Alon Zakai 9da6e1f335 support closure compiler on the shell in asm mode 2013-05-16 18:22:28 -07:00
Alon Zakai ce33f9c212 enable aliasing function pointers by default in -O2 2013-05-16 11:00:50 -07:00
Alon Zakai 73fc3ffcb5 add FORCE_ALIGNED_MEMORY=1 to -O3 2013-05-10 10:35:45 -07:00
Alon Zakai b08947097b fix sdl inclusion 2013-05-06 16:10:45 -07:00
Alon Zakai be0fb5cc46 auto-include malloc/free when SDL is used; fixes #1139 2013-05-06 13:35:33 -07:00
Alon Zakai b6b9c54b99 fix memory initializer detection 2013-05-06 11:38:26 -07:00
Alon Zakai 2a85aa178d update comments 2013-05-05 16:26:22 -07:00
Alon Zakai bf6825dc53 adjust js pass logging level to debug 2013-05-03 11:46:10 -07:00
Alon Zakai af15d3e5c9 update tests 2013-05-03 11:40:44 -07:00
Alon Zakai 2cd4b8256a restore warning on no input files, to match gcc 2013-05-03 10:47:23 -07:00
Alon Zakai 505f5f10af fix some logging uses 2013-05-03 10:44:16 -07:00
Alon Zakai ac2e339f7c tweak some logging levels 2013-05-03 10:33:55 -07:00
Éloi Rivard d6a6004ff3 Displays usage when no argument is passed. 2013-05-03 10:17:58 +02:00
Éloi Rivard ce122916a3 * Added some colors to messages displayed from python files. 2013-05-03 10:13:04 +02:00
Alon Zakai 4c0580aa21 only recommend jcache with -g 2013-05-01 17:07:45 -07:00
Éloi Rivard 8f4e931b7e Added a symlink testcase. 2013-05-02 00:06:13 +02:00
Alon Zakai 94e097a1fd require -g with jcache, fixes test_jcache 2013-05-01 11:11:19 -07:00
Alon Zakai 9cd0580f3c add support for changing the llvm target using EMCC_LLVM_TARGET in the env 2013-04-30 12:30:10 -07:00
Alon Zakai f934d3ec22 error on undefined symbols in js configure-ing 2013-04-29 15:47:31 -07:00
Alon Zakai 17248eb417 add target settings 2013-04-29 13:01:58 -07:00
Bruce Mitchener edc773c64d [libcextra] Add wcwidth, wcswidth. 2013-04-29 15:30:32 +07:00
Bruce Mitchener 454d7f9dd2 [libcextra] wctrans and friends. 2013-04-29 14:01:11 +07:00
Bruce Mitchener 30c055fb82 [libcextra] add isw* classification functions. 2013-04-29 12:10:55 +07:00
Éloi Rivard ff5cad0ba4 * Added symlink support. 2013-04-27 10:49:40 +02:00
Alon Zakai 4b1c3fbdb4 Merge branch 'idb-preload-cache' of github.com:modeswitch/emscripten into modeswitch-idb-preload-cache 2013-04-25 11:36:17 -07:00
Alon Zakai a00ffce0b7 clean up meminit detection 2013-04-25 11:15:47 -07:00
Alan Kligman f956fc6a33 Add --use-preload-cache option to emcc, which passes it through to file_packager. 2013-04-25 00:58:26 -04:00
Bruce Mitchener 029c076151 Clean up libc / libcxx build infrastructure.
This creates a couple of additional methods to reduce copy/paste
and make things a bit easier to follow.
2013-04-23 11:10:37 +07:00
Bruce Mitchener 654b36699e Move wchar,mb stuff to libcextra. 2013-04-22 18:51:43 +07:00
Bruce Mitchener 7cacf252e7 Add musl multibyte function implementations. 2013-04-22 16:45:07 +07:00
Bruce Mitchener b9090fa1f2 Add musl wchar function implementations. 2013-04-22 16:45:07 +07:00
Bruce Mitchener 58175e7276 Let libc.symbols use same symbol format as libcxx.
This is just the output of 'llvm-nm -extern-only -defined-only'.
2013-04-22 16:45:07 +07:00
Alon Zakai 1d1924ccc9 update tests 2013-04-19 11:21:51 -07:00
Alon Zakai f173cd3457 disable asm.js when using embind 2013-04-19 11:21:51 -07:00
Alon Zakai 8dc4fc973b enable ASM_JS=1 in -O1+, and start to update testing 2013-04-19 11:21:51 -07:00
Alon Zakai 2be92943d1 enable asm in -O1 and prepare to add testing 2013-04-17 11:12:38 -07:00
Alon Zakai 3cbdfcc318 Merge pull request #1038 from juj/fix_test_asm_pgo_windows
Fix test_asm_pgo on Windows.
2013-04-16 13:48:00 -07:00
Alon Zakai 17da251d33 default memory initializer to off, and add testing coverage 2013-04-15 10:45:48 -07:00
Alon Zakai 3868ec7853 refactor option to use full js in configure, add EMCONFIGURE_JS option 2013-04-13 09:16:19 -07:00
Jukka Jylänki 69c67542e7 Remove the unwanted abstraction that callee is allowed to autodelete a response file after consuming it. Instead, manually track and delete response files by the caller and clean them up. 2013-04-11 10:42:18 +03:00
Jukka Jylänki 1c4f763de4 Extend the use of response files to cover the case when emcc invokes emscripten.py, so that Windows command line length limitations don't break the test_asm_pgo on Windows. 2013-04-11 10:42:14 +03:00
Alon Zakai bc234c204c do not use memory init file without ta2, since we lay out memory in ta2 format in binary files 2013-04-10 17:30:40 -07:00
Alon Zakai 3f96c03f4d emcc note about .mem files 2013-04-10 14:29:07 -07:00
Alon Zakai c44aaae800 restore memory initialization and testing 2013-04-09 17:26:56 -07:00
Alon Zakai dad74e0d39 disable memory init for now 2013-04-05 18:31:18 -07:00
Alon Zakai 98665d3a9a work towards detecting chunked memory init 2013-04-05 18:30:45 -07:00
Alon Zakai a65ea6dc58 do not copy mem file when already in all places 2013-04-05 17:09:04 -07:00
Alon Zakai 74577f8517 load memory initializer immediately 2013-04-05 16:59:27 -07:00
Alon Zakai dc2a01d7f4 refactor preRun additions 2013-04-05 16:48:38 -07:00
Alon Zakai 3245705765 use a separate memory initialization file 2013-04-05 14:02:49 -07:00
Alon Zakai ad285f60d0 remove symbol removing hack; export all malloc symbols as weak; add test for a case where symbol removing made us not merge llvm constructors properly 2013-03-25 12:58:25 -07:00
Bruce Mitchener 09221ebd18 Get exceptions working as they were before.
This no longer uses headers from libcxxabi and
in fact uses libcxxabi a bit less than before.

This no longer lets some new C++11 stuff such as
exception_ptr work as the support for that relies
upon libcxxabi code.
2013-03-25 14:14:22 +07:00
Bruce Mitchener 90338c69f7 Get things working with the new libcxx / libcxxabi. 2013-03-25 00:34:11 +07:00
Bruce Mitchener 1a0bccc11d Build libcxx and libcxxabi with C++11. 2013-03-25 00:34:11 +07:00
Bruce Mitchener 80fd6f0bce Clean up lists of files, building libcxx / libcxxabi. 2013-03-25 00:34:10 +07:00
Alon Zakai e22176211c require -O2 in asm, for now 2013-03-22 10:46:10 -07:00
Alon Zakai f8b0b18348 fix handling of EMCC_LEAVE_INPUTS_RAW 2013-03-21 15:06:08 -07:00
Alon Zakai 9642a5128f check for utf and avoid the overhead if not necessary; remove UTF_STRING_SUPPORT 2013-03-18 15:07:17 -07:00
Alon Zakai 314a0b90f1 mark UTF_STRING_SUPPORT as an unsafe but useful opt, in -O3 2013-03-15 17:10:22 -07:00
Alon Zakai 68988a8603 support -s KEY=@PATH in emcc, for very large settings values 2013-03-12 10:47:35 -07:00
Alon Zakai 6a91523540 --save-bc option 2013-03-10 18:47:38 -07:00
Alon Zakai b028fb574e error on pgo with asm 2013-03-10 16:22:29 -07:00
Alon Zakai 7c39b40357 larger pgo test, with asm measurements 2013-03-10 15:02:11 -07:00
Alon Zakai 0f538ae57b Merge branch 'asm_minifier' into incoming 2013-03-09 20:01:14 -08:00
Alon Zakai 99ac7e40fe make sure to remove trivial whitespace 2013-03-09 10:10:29 -08:00
Alon Zakai 92a6658da8 minify by default in -O2+, unless -g 2013-03-09 09:12:35 -08:00
Alon Zakai 5c5a9dd4bf make sure we use a C compiler to build libc. fixes #937, #938 2013-03-08 20:42:36 -08:00
Alon Zakai 49970438a3 run registerize pass last 2013-03-08 10:26:18 -08:00
Xuejie "Rafael" Xiao d4c9620fb5 Move strtod, strtold, strtof, strtod_l, strtold_l, atof from JS side to libc side, this can fix double precision bug in original strtod implementation. 2013-03-06 23:59:11 -05:00
Alon Zakai f5d7160fb4 remove trivial whitespace 2013-03-06 18:01:23 -08:00
Alon Zakai 29a6a88c72 Merge pull request #848 from manuels/incoming
Add getopt and getopt_long (libc) support
2013-03-06 11:35:49 -08:00
Alon Zakai 97407b218c make -Os like -O2 but also disable inlining 2013-03-05 20:46:47 -08:00
manuels 6efef45cbf Add support for getopt/getopt_long 2013-03-05 22:05:11 +01:00
Alon Zakai 26a3a085fc emscripten_jcache_printf 2013-03-04 17:07:25 -08:00
Alon Zakai 1ee2b439f4 remove ASM_JS warning and add check for exception catching being off in it, the last remaining issue for it 2013-03-03 12:49:06 -08:00
Alon Zakai 7880f929b4 inline by default, now that lto is off by default 2013-02-28 11:33:24 -05:00
Alon Zakai 8060d8fc69 disable llvm lto except for -O3, due to issues we have been seeing 2013-02-28 10:43:13 -05:00
Alon Zakai 013dbae927 experimental EMCC_OPTIMIZE_NORMALLY option 2013-02-27 13:05:46 -05:00
Alon Zakai 631f2c60e1 jcache docs 2013-02-27 10:27:51 -05:00
Alon Zakai f4cceb902a fix DEBUG ? 2 checks 2013-02-26 20:19:44 -05:00
Vladimir Vukicevic d08b1ad1ec add cache debugging 2013-02-26 19:42:31 -05:00
Alon Zakai df7d3ce735 clean up response file code 2013-02-26 19:13:09 -05:00
Vladimir Vukicevic b2496c286d Add basic response file parsing to emcc 2013-02-26 17:34:22 -05:00
Alon Zakai e26971d4ef EMCC_FORCE_STDLIBS option 2013-02-25 14:21:22 -05:00
Alon Zakai e24cfb71df only do symbol checks for libcxx etc. if not forcing them anyhow 2013-02-25 11:49:16 -05:00
Alon Zakai 941c8e583d Merge pull request #859 from waywardmonkeys/cmdline-fixes
Cmdline fixes
2013-02-21 18:32:43 -08:00
Bruce Mitchener 21f7959f64 emcc: Improve handling of -O flag.
Previously, while gcc supports -O, emcc would fail. It now interprets
-O as -O2, just as gcc does.

Additionally, it was only looking at the first character after -O, so
nonsense like -O34 would be accepted (and treated as -O3).
2013-02-21 08:50:49 +07:00
Alon Zakai 54ff0c7c5a do not wipe out llvm debug info if linespecific corrections are done 2013-02-20 17:16:01 -08:00
Alon Zakai 5afd8a25d1 remove bad_cast/typeinfo.cpp from libcxx, no longer needed since it is in libcxxabi 2013-02-20 16:58:18 -08:00
Alon Zakai dce46c9c2a build base type_info class with libcxxabi, fixes #862 2013-02-20 16:33:29 -08:00
Alon Zakai 805741f649 closure docs on emcc --help 2013-02-19 07:27:40 -08:00
Alon Zakai 06b262b3f1 run closure in -O3, it makes sense there with the other unsafe optimizations 2013-02-18 15:47:07 -08:00
Alon Zakai 7675539916 remove LLVM debug info in -O1+, since the optimizer removes it anyhow 2013-02-18 12:52:41 -08:00
Alon Zakai 4dc72e6473 fix emcc --version in other dirs 2013-02-18 08:58:05 -08:00