aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-03 15:16:17 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-03 15:16:17 -0800
commit8478d6aee54d6c52de16d8c58309534afbf5bf9e (patch)
treebec73fd8e0cd6888d2dfb6b9e6a1423cc2432f61
parent1a007b1631509b9d72499a8f4402294017ee04dc (diff)
parenta8e26049c1a72fa6b19dac45fa2b44616f94241a (diff)
Merge branch 'incoming'
-rw-r--r--AUTHORS3
-rw-r--r--cmake/Platform/Emscripten.cmake41
-rwxr-xr-xemcc214
-rwxr-xr-xemrun1087
-rw-r--r--emrun.bat2
-rwxr-xr-xemscripten.py107
-rw-r--r--src/analyzer.js15
-rw-r--r--src/compiler.js2
-rw-r--r--src/emrun_postjs.js20
-rw-r--r--src/emrun_prejs.js5
-rw-r--r--src/emscripten-source-map.min.js31
-rw-r--r--src/hello_world.js (renamed from tests/hello_world.js)0
-rw-r--r--src/jsifier.js20
-rw-r--r--src/library.js283
-rw-r--r--src/library_egl.js20
-rw-r--r--src/library_fs.js2
-rw-r--r--src/library_gl.js93
-rw-r--r--src/library_glfw.js8
-rw-r--r--src/library_sdl.js6
-rw-r--r--src/modules.js27
-rw-r--r--src/parseTools.js35
-rw-r--r--src/preamble.js19
-rw-r--r--src/relooper/Relooper.cpp50
-rw-r--r--src/relooper/Relooper.h34
-rw-r--r--src/relooper/fuzzer.py6
-rw-r--r--src/relooper/test.cpp28
-rw-r--r--src/relooper/test.txt377
-rw-r--r--src/relooper/test2.txt40
-rw-r--r--src/relooper/test3.txt82
-rw-r--r--src/relooper/test4.txt52
-rw-r--r--src/relooper/test5.txt104
-rw-r--r--src/relooper/test6.txt38
-rw-r--r--src/relooper/test_dead.txt2
-rw-r--r--src/relooper/test_debug.txt62
-rw-r--r--src/relooper/test_fuzz1.txt100
-rw-r--r--src/relooper/test_fuzz2.txt42
-rw-r--r--src/relooper/test_fuzz3.txt36
-rw-r--r--src/relooper/test_fuzz4.txt56
-rw-r--r--src/relooper/test_fuzz5.txt122
-rw-r--r--src/relooper/test_fuzz6.txt358
-rw-r--r--src/relooper/test_inf.txt1606
-rwxr-xr-xsrc/relooper/testit.sh30
-rw-r--r--src/runtime.js2
-rw-r--r--src/simd.js7
-rw-r--r--src/utility.js8
-rw-r--r--system/include/emscripten/emscripten.h64
-rw-r--r--tests/aniso.c5
-rw-r--r--tests/cases/514_ta2.ll4
-rw-r--r--tests/cases/aliasbitcast.ll12
-rw-r--r--tests/cases/atomicrmw.ll8
-rw-r--r--tests/cases/atomicrmw_unaligned.ll8
-rw-r--r--tests/cases/breakinthemiddle.ll11
-rw-r--r--tests/cases/breakinthemiddle2.ll17
-rw-r--r--tests/cases/breakinthemiddle3.ll11
-rw-r--r--tests/cases/caall.ll12
-rw-r--r--tests/cases/complexphi.ll6
-rw-r--r--tests/cases/dash.ll8
-rw-r--r--tests/cases/emptyalloca.ll31
-rw-r--r--tests/cases/emptyasm_le32.ll5
-rw-r--r--tests/cases/entry3.ll14
-rw-r--r--tests/cases/funcptr.ll8
-rw-r--r--tests/cases/i24_mem_ta2.ll10
-rw-r--r--tests/cases/i64toi8star.ll6
-rw-r--r--tests/cases/inttoptr.ll8
-rw-r--r--tests/cases/invokebitcast.ll7
-rw-r--r--tests/cases/invokeundef.ll9
-rw-r--r--tests/cases/legalizer_ta2.ll4
-rw-r--r--tests/cases/loadbitcastgep.ll7
-rw-r--r--tests/cases/longjmp_tiny_invoke_phi.ll46
-rw-r--r--tests/cases/longjmp_tiny_invoke_phi.txt4
-rw-r--r--tests/cases/oob_ta2.ll4
-rw-r--r--tests/cases/phi24_ta2.ll7
-rw-r--r--tests/cases/phicubed.ll2
-rw-r--r--tests/cases/phientryimplicit.ll36
-rw-r--r--tests/cases/phientryimplicitmix.ll22
-rw-r--r--tests/cases/phientryimplicitmoar.ll14
-rw-r--r--tests/cases/phiself.ll4
-rw-r--r--tests/cases/ptrtoi64.ll14
-rw-r--r--tests/cases/selectstruct.ll4
-rw-r--r--tests/cases/sillybitcast.ll4
-rw-r--r--tests/cases/sillybitcast2.ll35
-rw-r--r--tests/cases/sillyfuncast.ll6
-rw-r--r--tests/cases/storebigfloat.ll2
-rw-r--r--tests/cases/storestruct.ll10
-rw-r--r--tests/cases/structphiparam.ll4
-rw-r--r--tests/cases/sub_11_0.ll2
-rw-r--r--tests/cases/switch64_ta2.ll13
-rw-r--r--tests/cases/uadd_overflow_ta2.ll22
-rw-r--r--tests/cases/unaligneddouble.ll2
-rw-r--r--tests/cases/zeroembedded.ll4
-rw-r--r--tests/cases/zeroextarg.ll6
-rw-r--r--tests/core/closebitcasts.c32
-rw-r--r--tests/core/closebitcasts.txt2
-rw-r--r--tests/core/test_addr_of_stacked.in8
-rw-r--r--tests/core/test_addr_of_stacked.out1
-rw-r--r--tests/core/test_alloca.in9
-rw-r--r--tests/core/test_alloca.out1
-rw-r--r--tests/core/test_alloca_stack.in16
-rw-r--r--tests/core/test_alloca_stack.out1
-rw-r--r--tests/core/test_array2.in13
-rw-r--r--tests/core/test_array2.out1
-rw-r--r--tests/core/test_array2b.in12
-rw-r--r--tests/core/test_array2b.out2
-rw-r--r--tests/core/test_assert.in7
-rw-r--r--tests/core/test_assert.out1
-rw-r--r--tests/core/test_atexit.in11
-rw-r--r--tests/core/test_atexit.out1
-rw-r--r--tests/core/test_atoX.in40
-rw-r--r--tests/core/test_atoX.out3
-rw-r--r--tests/core/test_atomic.in18
-rw-r--r--tests/core/test_atomic.out5
-rw-r--r--tests/core/test_bigarray.in22
-rw-r--r--tests/core/test_bigarray.out1
-rw-r--r--tests/core/test_bitfields.in20
-rw-r--r--tests/core/test_bitfields.out1
-rw-r--r--tests/core/test_bsearch.in45
-rw-r--r--tests/core/test_bsearch.out10
-rw-r--r--tests/core/test_bswap64.in48
-rw-r--r--tests/core/test_bswap64.out7
-rw-r--r--tests/core/test_ccall.in22
-rw-r--r--tests/core/test_ccall.out23
-rw-r--r--tests/core/test_class.in28
-rw-r--r--tests/core/test_class.out1
-rw-r--r--tests/core/test_constglobalstructs.in21
-rw-r--r--tests/core/test_constglobalstructs.out1
-rw-r--r--tests/core/test_conststructs.in18
-rw-r--r--tests/core/test_conststructs.out1
-rw-r--r--tests/core/test_copyop.in34
-rw-r--r--tests/core/test_copyop.out4
-rw-r--r--tests/core/test_corruption_2.in21
-rw-r--r--tests/core/test_corruption_2.out2
-rw-r--r--tests/core/test_corruption_3.in19
-rw-r--r--tests/core/test_corruption_3.out1
-rw-r--r--tests/core/test_cxx03_do_run.in10
-rw-r--r--tests/core/test_cxx03_do_run.out1
-rw-r--r--tests/core/test_demangle_stacks.in20
-rw-r--r--tests/core/test_demangle_stacks.out1
-rw-r--r--