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

584 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 27a17f57f8 don't remove whitespace in emcc, not worth the time 2014-01-17 15:10:12 -08:00
Alon Zakai c0ea7656d7 clean up emcc timing logging 2014-01-17 14:31:40 -08:00
Alon Zakai 620ff9a94d optimize memory initializer if it is large 2014-01-17 10:01:04 -08:00
Alon Zakai e138af189b remove current memory initialization chunking via .concat(..) 2014-01-17 10:01:04 -08:00
Alon Zakai 5bb976ed71 add fnmatch; fixes #2002 2014-01-16 15:42:14 -08:00
Alon Zakai a310827131 enable a form of safe heap in asm, using js optimizer pass to ensure full coverage and support for fastcomp 2014-01-16 11:27:39 -08:00
Alon Zakai 7600935358 Merge pull request #2016 from rfk/rfk/minify-names-separately
Split name-minification into a separate pass from registerization.
2014-01-15 21:33:17 -08:00
Alon Zakai c5522c6456 add musl fputws, fix vswprintf, add testing for fwprintf and swprintf as well 2014-01-15 11:26:48 -08:00
Ryan Kelly ba54ecbc93 Split name-minification into a separate pass from registerization. 2014-01-16 01:02:43 +11:00
Bruce Mitchener db88b6cd9b Fill in undefined math symbols. 2014-01-15 12:01:56 +07:00
Bruce Mitchener 8f85a8ed68 Move err/warn/etc from libc to libcextra. 2014-01-14 15:05:21 +07:00
Bruce Mitchener 58713dc426 Replace getopt_long with musl version. 2014-01-14 15:05:21 +07:00
Bruce Mitchener bba4dd6fd3 Replace implementation of warn*/err*.
This eliminates a large number of warnings about incompatible function pointer
casts when compiling for asm.js.
2014-01-14 15:05:21 +07:00
Bruce Mitchener a15486ffea Fix asm2 compilation where __toread was used. 2014-01-14 15:05:20 +07:00
Alon Zakai 0e36f078d4 add fputwc, which enables wprintf 2014-01-13 17:03:24 -08:00
Bruce Mitchener e3825afd87 Move scalbn to libc to fix broken functionality. Disable test on x86. 2014-01-14 02:21:11 +07:00
Bruce Mitchener 3b62c6587c Add lots of math functions. 2014-01-14 02:21:11 +07:00
Bruce Mitchener b167b3c751 Add gamma functions. 2014-01-14 02:21:11 +07:00
Bruce Mitchener c0229303f8 Add strtod(), wcstod(), wcstol() and friends.
This implementation of strtod() replaces the old as it implements
support for parsing hex constants which is needed by various tests.
2014-01-14 02:21:11 +07:00
Bruce Mitchener 4353f5df1e Missing string.h functionality. 2014-01-13 17:59:15 +07:00
Alon Zakai bcce3b5fb4 support exceptions using fastcomp 2014-01-09 16:06:40 -08:00
Alon Zakai 0b3416a1dc Merge branch 'incoming' into llvm-3.4
Conflicts:
	tests/test_benchmark.py
	tools/shared.py
2014-01-07 15:40:53 -08:00
Alon Zakai 582e3e62db make aggressiveVariableElimination usable through a setting 2014-01-07 12:24:40 -08:00
Alon Zakai c683909099 apply EMMAKEN_CFLAGS directly to commandline, not just to clang calls, so that we can parse it in emcc and e.g. disable vectorization as necessary 2014-01-06 13:38:25 -08:00
Alon Zakai c6cba031d9 other.test_emcc fixes for fastcomp 2014-01-06 11:23:37 -08:00
Alon Zakai 0895a9801e todo about async script tags 2014-01-04 16:34:06 -08:00
Alon Zakai 6d87b56593 adjust TOTAL_MEMORY at runtime, to take into account last minute changes to Module.TOTAL_MEMORY 2014-01-02 18:53:44 -08:00
Alon Zakai 8bd21f1fff deprecate compression 2014-01-02 18:38:44 -08:00
Alon Zakai 8468d6fa55 fix --save-bc in fastcomp 2013-12-30 16:59:01 -08:00
Alon Zakai 094cbfd615 disable jcache in fastcomp, and fake emscripten_jcache_printf 2013-12-30 12:14:49 -08:00
juj d492872d61 Merge pull request #1946 from juj/default_obj_ext
--default-obj-ext
2013-12-30 02:11:35 -08:00
Jukka Jylänki 480fa4d6ea Define behavior that 'emcc -c a.c -o dir/' shall compile and generate object file 'dir/a.o'. Previous behavior when directory was specified in -o was accidental, and it generated an object file 'dir/a_0.o'. Add new command line option --default-obj-ext that allows specifying the file suffix that is used when the output object filename is generated in this manner. '.o' is a good default suffix since it parallels the existing gcc/clang/linux convention. For Windows Visual Studio+CMake+Emscripten integration, CMake has been hardcoded to assume that if Visual Studio is targeted, the compiler will always generate '.obj' files. Hence having the ability to adjust the default naming scheme with --default-obj-ext enables working around CMake inflexibility, and add support for CMake+VS+Emscripten triple. 2013-12-29 11:04:23 +02:00
Alon Zakai 2dc5962c8b better error on missing input files, fixes #1930 2013-12-25 12:21:57 -08:00
Alon Zakai 4202310613 fix LEAVE_INPUTS_RAW in fastcomp 2013-12-24 10:55:37 -08:00
Alon Zakai a0ce0dce7d properly check for libx.so.1.2.3 types when deciding what to link in statically, and improve testing for that; fixes #1886 2013-12-24 10:07:25 -08:00
Alon Zakai 48dbd4de6e differentiate suffixes from endings in filename_type_ending as well 2013-12-24 09:47:20 -08:00
Alon Zakai b1f10031a3 clearly differentiate suffixes from endings (dot + suffix) in emcc 2013-12-24 09:41:07 -08:00
Alon Zakai cb046b74b3 do not link in dynamic libraries when compiling to bitcode in intermediate stages, only link them in when building to js or html. closes #1886 2013-12-23 21:22:46 -08:00
Alon Zakai 8dd12f6e6c error on unsupported features in fastcomp 2013-12-21 11:08:25 -08:00
Alon Zakai 058910ca69 fix emcc usage of file packager 2013-12-20 20:42:20 -08:00
Alon Zakai 982d3e0bc5 Merge pull request #1922 from coolwanglu/embed_dot_files
--exclude-file
2013-12-20 17:26:15 -08:00
Alon Zakai 2d5f34d150 simplify ir for fastcomp after the autodebugger runs 2013-12-20 11:27:25 -08:00
Alon Zakai 4efa4270a2 simplify for fastcomp together with other link operations 2013-12-19 22:01:09 -08:00
Alon Zakai ed65cfdcf1 move fastcomp simplification code into emcc, and simplify it 2013-12-19 21:51:37 -08:00
Alon Zakai 0d3ef7fc93 avoid llvm-dis in fastcomp 2013-12-19 21:32:41 -08:00
Jukka Jylänki e98f5e310d Implement command line passing to work to emrun when --emrun is passed. 2013-12-19 18:10:29 +02:00
Alon Zakai 611d08896c allow -O0 in fastcomp, still in asm mode 2013-12-16 21:06:54 -08:00
Alon Zakai 49e00037f0 Merge branch 'em_config' of github.com:juj/emscripten into incoming
Conflicts:
	emcc
2013-12-16 17:50:47 -08:00
Alon Zakai 4fb00853a9 Merge pull request #1896 from juj/emrun
Emrun
2013-12-16 16:24:39 -08:00
Lu Wang 3b57236896 --exclude-file 2013-12-14 19:32:06 +08:00