summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * add local assertionsAlon Zakai2016-01-141-0/+2
| |
| * break/switch fixesAlon Zakai2016-01-141-1/+9
| |
| * break assertAlon Zakai2016-01-141-0/+3
| |
| * add locations for recursion debuggingAlon Zakai2016-01-141-4/+4
| |
| * fix binary writing of CallIndirectAlon Zakai2016-01-141-1/+1
| |
| * fix binary writing of BrIfAlon Zakai2016-01-141-1/+1
| |
| * fix recursion debuggingAlon Zakai2016-01-141-6/+6
| |
| * artisinal debuggingAlon Zakai2016-01-141-85/+104
| |
| * more binary debuggingAlon Zakai2016-01-141-46/+55
| |
| * fix call_importAlon Zakai2016-01-141-3/+4
| |
| * fix function size offsettingAlon Zakai2016-01-131-4/+5
| |
| * more binary fixesAlon Zakai2016-01-131-4/+4
| |
| * fix locals in binary formatAlon Zakai2016-01-131-8/+16
| |
| * fix binary skipping bugAlon Zakai2016-01-131-1/+5
| |
| * fix buffer writing bugAlon Zakai2016-01-131-1/+3
| |
| * more debuggingAlon Zakai2016-01-131-0/+3
| |
| * functions must be parsed after all their targets are knownAlon Zakai2016-01-131-8/+27
| |
| * add a call assert and debuggingAlon Zakai2016-01-131-0/+3
| |
| * fix maybeVisit logicAlon Zakai2016-01-131-5/+6
| |
| * use unsigned types in wasm-binary.hAlon Zakai2016-01-131-17/+24
| |
| * more debuggingAlon Zakai2016-01-131-0/+43
| |
| * avoid char casting bug in wasm-binaryAlon Zakai2016-01-131-1/+1
| |
| * fix LEB128 bugAlon Zakai2016-01-131-1/+1
| |
| * add debugging for wasm-binary.hAlon Zakai2016-01-133-11/+50
| |
| * initial work on wasm-disAlon Zakai2016-01-133-16/+592
| |
| * avoid unportable sizes in wasm.hAlon Zakai2016-01-131-2/+2
| |
* | Avoid potential setjmp clobberJF Bastien2016-01-131-65/+77
|/ | | | | | | -Wextra adds checks for potential clobbers which triggered in binaryen-shell.cpp: might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] The fix moves the setjmp/longjmp using code into another function, and passes in potentially-clobbered values from the parent frame so they can't be clobbered. We could also mark them as volatile but that's a big hammer.
* some function parsing changes in s2wasm, due to upstream llvmAlon Zakai2016-01-131-1/+7
|
* implement br_if in wasm-asAlon Zakai2016-01-121-2/+2
|
* implement switch in wasm-asAlon Zakai2016-01-121-2/+12
|
* fix some macros in wasm-asAlon Zakai2016-01-121-0/+3
|
* ensure function types for all functions in wasm-as, as the binary format ↵Alon Zakai2016-01-121-1/+15
| | | | requires it
* update s2wasm for new block and loop format in .s files from llvm #97Alon Zakai2016-01-121-37/+45
|
* refactor FunctionType to always be accessed from the Module's central store, ↵Alon Zakai2016-01-118-69/+55
| | | | which is necessary for simple binary writing
* finish initial pass on wasm-binary, and add wasm-as tool #13Alon Zakai2016-01-112-139/+243
|
* Merge pull request #93 from WebAssembly/asm2wasm-use-command-lineAlon Zakai2016-01-118-58/+91
|\ | | | | asm2wasm: use support's command-line
| * asm2wasm: use support's command-lineJF Bastien2016-01-118-58/+91
| |
* | emit data segments in binary #13Alon Zakai2016-01-111-16/+24
| |
* | implement LEB128 writing in binary format support #13Alon Zakai2016-01-111-10/+60
| |
* | ignore @FUNCTIONAlon Zakai2016-01-111-2/+12
| |
* | Check for negative overflow.JF Bastien2016-01-111-30/+50
| |
* | Safe integer: assert before converting double to integer.JF Bastien2016-01-101-0/+5
| |
* | Asm2WasmBuilder: allow building u/s int32.JF Bastien2016-01-101-2/+3
| |
* | Add Travis builds with sanitizersJF Bastien2016-01-1010-57/+165
|/ | | | | | | | | | | | | | | | This triggers 5 independent build / test runs: - clang, no sanitizer; - clang, UB sanitizer; - clang, address sanitizer (disabled for now); - clang, thread sanitizer (disabled for now); - GCC. Enabling UBSan led to these changes: - Fix a bunch of undefined behavior throughout the code base. - Fix some tests that relied on that undefined behavior. - Make some of the tests easier to debug by printing their command line. - Add ubsan blacklist to work around libstdc++ bug. - Example testcase also needs sanitizer because libsupport.a uses it.
* use simplify-locals by defaultAlon Zakai2016-01-093-0/+3
|
* start work on SimplifyLocalsAlon Zakai2016-01-091-0/+43
|
* add -O option to shell that runs default optimization passesAlon Zakai2016-01-081-1/+6
|
* RemoveUnneededBrs: remove all code in a block after a breakAlon Zakai2016-01-081-0/+7
|
* improve RemoveUnusedBrs: unify an if-else's brs into one br outsideAlon Zakai2016-01-081-24/+39
|
* s2wasm: only create output file when successfulJF Bastien2016-01-081-1/+1
| | | Previously the file was created but was empty when s2wasm failed. This caused sexpr-wasm to be sad because it tried to use an empty file.