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

456 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 5b27fcf208 allow picking a library to force inclusion of in EMCC_FORCE_STDLIBS 2013-07-03 15:31:04 -07:00
Alon Zakai 650a1d7857 finalize floats during relocation in side modules 2013-07-03 15:31:04 -07:00
Alon Zakai 5e360b75ff fix non-linking of C libs in side modules 2013-07-03 15:31:04 -07:00
Alon Zakai 7be8c34546 do not link in C libraries in side modules 2013-07-03 15:31:04 -07:00
Alon Zakai 8c72d67953 move memory initializer pattern to shared 2013-07-03 15:31:03 -07:00
Alon Zakai 74e60024e3 cleanups 2013-07-03 15:31:03 -07:00
Alon Zakai fac77c3ff0 initial setup 2013-07-03 15:31:02 -07:00
Alon Zakai d887e70b10 improve error message 2013-06-28 11:28:48 -07:00
Alon Zakai 0432f1c791 add option for -O3 style LTO without normal LLVM LTO, because java-nbody hits an LTO bug but benefits from -O3 on all the code 2013-06-27 12:05:53 -07:00
Alon Zakai 681ab3e915 always use lto in embind, workaround for a pointer issue 2013-06-27 11:26:46 -07:00
Alon Zakai 6fe62c1539 --llvm-lto 2 option 2013-06-27 11:03:22 -07:00
Alon Zakai 317f89f548 fix bug when optimizing renamed input files in emcc 2013-06-26 21:11:49 -07:00
Alon Zakai 1acf958b45 optimize libc and other libraries with -O2 2013-06-26 18:55:28 -07:00
Alon Zakai 7e179d8c63 make EMCC_OPTIMIZE_NORMALLY the default 2013-06-26 13:58:30 -07:00
Alon Zakai dc341c89d3 deprecate llvm opts in non-ta2 modes 2013-06-26 13:51:59 -07:00
Alon Zakai deacdfa129 remove incorrect comment 2013-06-26 11:47:20 -07:00
Alon Zakai 501022cbaa Merge branch 'source-maps' of github.com:int3/emscripten into int3-source-maps
Conflicts:
	tools/js-optimizer.js
2013-06-26 10:53:17 -07:00
Alon Zakai e7dfdb3a27 make emcc -v update debug settings, so that it saves temp files 2013-06-24 21:27:31 -07:00
Jez Ng 6768d77c41 Clean up emcc flag parsing + help message. 2013-06-24 15:57:57 -07:00
Alon Zakai bab35f453a unify registerize and minify passes, since they must run in conjunction 2013-06-24 13:24:30 -07:00
Alon Zakai 637ad69e97 add space in debug output 2013-06-24 10:56:08 -07:00
Jez Ng 7ff0dde780 Merge remote-tracking branch 'upstream/incoming' into source-maps
Conflicts:
	emcc
	tools/js-optimizer.js
	tools/js_optimizer.py
2013-06-22 23:46:31 -07:00
Alon Zakai 61b60b7f13 only minify globals when relooping 2013-06-22 15:32:03 -07:00
Alon Zakai 202461abe3 fix -g2 and add testing 2013-06-22 15:02:10 -07:00
Alon Zakai 369167ebda -gLEVEL ; support varying degrees of debuggability 2013-06-22 14:21:19 -07:00
Alon Zakai 8f1a7e5546 show auto-linking decision process only in VERBOSE 2013-06-22 09:42:37 -07:00
Jez Ng 3a84846ded Centralize debug options in a -gX flag. 2013-06-22 05:42:26 -07:00
Jez Ng 9382556ed5 Test that source mapping works with EMCC_DEBUG=2. 2013-06-22 01:23:22 -07:00
Jez Ng 88feddf045 Get test_source_map passing again. 2013-06-22 01:23:22 -07:00
Jez Ng 99fa57e08e Make test_debug actually fail when things go wrong. 2013-06-22 01:23:21 -07:00
Jez Ng cfe4eb5b4f Source maps should only be activated via the `--map` flag. 2013-06-22 01:23:14 -07:00
Alon Zakai 4654f7b59b todo 2013-06-21 11:22:51 -07:00
Jez Ng d680f5e81b Implement source maps for optimized builds. 2013-06-19 14:15:18 -07:00
Jez Ng 54a59bee84 Move source mapping files into their own folder. 2013-06-19 14:15:18 -07:00
Jez Ng 7656f94838 Lay the groundwork for optimized source maps. 2013-06-19 14:09:13 -07:00
Jez Ng af52a9aacb Fix source map line numbering for inline scripts. 2013-06-19 01:22:01 -07:00
Jez Ng 2f16717540 Add test for source maps.
Tweak behavior of post_build; the `post2` hook now expects a function.
2013-06-19 01:22:01 -07:00
Jez Ng 165befaa29 Add check for keep_llvm_debug + minor touchups. 2013-06-19 01:22:01 -07:00
Jez Ng 747f74e105 Implement basic source maps. Closes #1252. 2013-06-19 01:22:01 -07:00
Alon Zakai e8b1ec27a7 Merge pull request #1281 from juj/noninput_cmdline_opts
Improve emcc input file detection to ignore all arguments that precede a...
2013-06-17 17:08:57 -07:00
Alon Zakai 02382e49cb Merge pull request #1280 from juj/abs_path_check
Improve absolute path warning detection to work on Windows, and make the...
2013-06-17 17:06:49 -07:00
Alon Zakai 697408d658 enable all debug logging in emcc -v 2013-06-17 12:21:32 -07:00
Jukka Jylänki 59687f98cc Improve emcc input file detection to ignore all arguments that precede a GCC preprocessor command line option from http://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html . 2013-06-13 16:21:07 +03:00
Jukka Jylänki f06dfed6a6 Improve absolute path warning detection to work on Windows, and make the warning message more informative. 2013-06-13 16:10:35 +03:00
Alon Zakai 4535b975f8 do not skip -s X=Y when EMCONFIGURE_JS 2013-06-04 15:07:26 -07:00
Jukka Jylänki 2559aa6e02 Fix test_exported_response and test_asm_pgo on Windows. 2013-06-03 21:14:32 +03:00
Alon Zakai 39ea986557 enable asm.js in embind, with extra reserved function pointers by default 2013-05-25 10:15:36 -07:00
Alon Zakai 5f76d8e64e Merge pull request #1203 from michaeljbishop/objc-support
Allow Emscripten to recognize and compile .m and .mm files
2013-05-24 13:32:27 -07:00
Michael Bishop 1fa15abb03 Simplified code by using a tuple in combination with `endsWith`. 2013-05-24 14:48:33 -04:00
Alon Zakai c526e8e8ac show --help in emcc even if there are other args 2013-05-24 11:27:46 -07:00