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

4316 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 125256db5c do not try to eliminate phi variables, which are unsafe to be removed and the llvm optimizer will remove anyhow if unused 2012-12-12 18:58:01 -08:00
Alon Zakai 07ac727a60 make Building.is_* tests emit errors to stderr 2012-12-12 13:56:37 -08:00
Alon Zakai cdd0fb3785 clamp glColor floats to [0,1] 2012-12-12 11:52:40 -08:00
Alon Zakai d3dea2406d keep at least 'node' as the guess for node 2012-12-12 10:29:50 -08:00
Alon Zakai 42b03394eb warni when ignoring libs 2012-12-10 19:01:53 -08:00
Alon Zakai 6c80e7593c ignore llvm.module metadata 2012-12-10 16:40:47 -08:00
Alon Zakai 63a265fa45 remove unneeded debug stuff 2012-12-10 12:39:24 -08:00
Alon Zakai 27f6a1cfa3 add some link debug stuff 2012-12-10 11:35:42 -08:00
Alon Zakai 0390d4961c fix testcase for longjmp4 to avoid undefined behavior, enable in all optimization modes; closes #747 2012-12-08 15:52:06 -08:00
Alon Zakai f689a0eca6 better fix for the exception testcase in #747 - set the current exception when we are resuming after an end-catch which wiped it out, but not otherwise 2012-12-08 15:48:42 -08:00
Alon Zakai 037e8d20c0 properly use identifier given to resume instruction, avoids issues with cxa_catch cleaning it up; fixes test_multiexception, the exception-handling part of #747 2012-12-08 14:37:51 -08:00
Alon Zakai b1da8a876b disable test_longjmp4 in optimized builds - it fails in native clang -O2 as well, possibly undefined behavior 2012-12-07 20:59:53 -08:00
Alon Zakai 51480ab006 rewrite setjmp code to identify, uniquely, each setjmp and match it to a longjmp. add testcase for #747, works in unoptimized builds 2012-12-07 20:39:09 -08:00
Alon Zakai d2f19271a1 add test_multiexception for #747 2012-12-07 19:06:15 -08:00
Alon Zakai 2699ec8dbd clear setjmped when handling a longjmp, so we can proceed to longjmp later correctly; fixes #747 2012-12-07 18:42:02 -08:00
Alon Zakai ab399ca532 properly implement uitofp/sitofp using our existing code for that; fixes #745 2012-12-07 12:55:49 -08:00
Alon Zakai b0b611c9f7 add parts of system bitcode libraries when necessary, and refactor library inclusion decision code 2012-12-07 12:32:49 -08:00
Tobias Weibel 483313890c Ignore generated files src/relooper.js[.raw.js] for git 2012-12-04 16:49:05 -08:00
Alon Zakai 4df6589efa Merge pull request #735 from eclecticdave/emcc_so_fix
Fixes to emcc to make autoconf enable shared objs
2012-12-04 16:45:57 -08:00
Alon Zakai 4d7c5e7039 recursively traverse .a files until we have all we need 2012-12-04 14:54:52 -08:00
Alon Zakai 2817d5ac55 only add in .o inside .a that are needed 2012-12-04 11:54:07 -08:00
Alon Zakai c735bb6469 do not apply -l if not generating an executable or a library 2012-12-03 14:30:09 -08:00
Alon Zakai 30f484d68f ignore argument after -I -L for purposes of input detection in emcc 2012-12-03 13:36:37 -08:00
David Claughton 5d48629cf0 Fixes to emcc to make autoconf enable shared objs
When using emcc as a linker, autoconf disables
shared object support.  This is because it expects
the text returned by the -v and --help options to
match certain things that GNU ld prints.

Specifically it expects the output of emcc -v to include
the word 'GNU' and the output of emcc -v to match the
regexp ': supported targets.* elf'

Modified the messages returned by emcc for these options
to make autoconf happy.
2012-11-30 21:56:00 +00:00
Alon Zakai 98d730f930 Merge pull request #734 from dinibu/incoming
Fixed embind for non-void non-const class methods (with test). Fixes issue #605.
2012-11-30 10:51:20 -08:00
Dominic Wong e0c208c493 Fixed embind for non-void non-const class methods (with test). 2012-11-30 15:16:00 +08:00
Alon Zakai 64b3836a68 fix sprintf 2012-11-28 14:56:46 -08:00
Alon Zakai 32fa9e754d Merge pull request #731 from juj/print_benchmark_errors
Print benchmark errors
2012-11-28 11:24:19 -08:00
Jukka Jylänki f99ac7a931 Use 'return 0;' instead of 'return 1;' in all native code in tests/runner.py to denote exit with a success. 2012-11-28 20:25:05 +02:00
Jukka Jylänki 8784f0ff91 Improve test runner build_native and run_native functions to output detailer error report when things go wrong. 2012-11-28 20:11:35 +02:00
Alon Zakai 710e8459cb disable tests not working without named globals 2012-11-27 20:27:00 -08:00
Alon Zakai ef7eb7ceeb avoid overhead in named globals builds 2012-11-27 20:11:19 -08:00
Alon Zakai ee0c41b39b do not index globals referred to by name in library 2012-11-27 20:02:42 -08:00
Alon Zakai bdef7bf784 llvm global ctors is not indexable 2012-11-27 18:20:00 -08:00
Alon Zakai cbccca3cbc update test_cases/gepoverflow 2012-11-27 17:58:41 -08:00
Alon Zakai f5d9728cff fix global indexing bugs 2012-11-27 17:26:25 -08:00
Alon Zakai 52cc5c714d fix alias precheck 2012-11-27 17:24:56 -08:00
Alon Zakai ac5209f8f4 do global indexing up front 2012-11-27 15:47:29 -08:00
Alon Zakai cb88b99fc4 fix vtable null termination with indexed globals 2012-11-27 15:32:45 -08:00
Alon Zakai 8e708a251f do not globalIndex externals 2012-11-27 13:20:17 -08:00
Alon Zakai ed7d230d8d correct indexed globals in structured constants 2012-11-27 11:32:18 -08:00
Alon Zakai acf077c620 external globals and not indexable 2012-11-27 11:12:15 -08:00
Alon Zakai d4d0f6d9fb fix assignment to indexed global 2012-11-27 10:28:03 -08:00
Alon Zakai 9f34b23ce4 fix test_cases_subnums 2012-11-27 10:19:20 -08:00
Alon Zakai 41e9abe1bb always use names for aliases 2012-11-27 10:12:03 -08:00
Alon Zakai 7b762f571b notice type of aliases when no named globals 2012-11-27 10:02:38 -08:00
Alon Zakai 6782b5e97f switch to all or nothing named globals, and add testing 2012-11-27 09:51:36 -08:00
Alon Zakai 9d20f0799c fix NUM_NAMED_GLOBALS bug with global postsets and add test coverage 2012-11-27 09:19:15 -08:00
Alon Zakai 9c26a959a2 avoid unnecessary disk IO in test_gcc_unmangler 2012-11-27 09:12:07 -08:00
Alon Zakai 3aa07e9f4e use hashlib instead of md5 2012-11-26 18:23:01 -08:00