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