Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix relooper fuzz testcase to be valid old-style c (#459) | Alon Zakai | 2016-05-07 | 1 | -6/+9 |
| | |||||
* | rename binaryen-c library to binaryen (#458) | Alon Zakai | 2016-05-07 | 3 | -5/+5 |
| | |||||
* | Merge pull request #454 from MI3Guy/master | Alon Zakai | 2016-05-07 | 3 | -4/+5 |
|\ | | | | | Minor fixes for C API | ||||
| * | Changed empty parameter functions in C API to void. | John Bentley | 2016-05-07 | 2 | -4/+4 |
| | | |||||
| * | Added additional files to gitignore. | John Bentley | 2016-05-07 | 1 | -0/+1 |
| | | |||||
* | | use atomics on MixedArena list generation instead of locking (#456) | Alon Zakai | 2016-05-07 | 1 | -15/+31 |
| | | |||||
* | | fix block finalize(type) (#457) | Alon Zakai | 2016-05-07 | 1 | -1/+1 |
| | | |||||
* | | remove obsolete comment from relooper fuzzer | Alon Zakai | 2016-05-07 | 1 | -1/+1 |
| | | |||||
* | | Use more static libraries in the CMake build (#451) | Derek Schuff | 2016-05-07 | 7 | -71/+53 |
|/ | | | | | | | | | | | * Factor passes and emscripten-optimizer into static libs This removes the redundancies from the source sets in the main CMakeLists.txt. * Make passes an object lib * Use static libs with --whole-archive because Travis has old cmake | ||||
* | relooper fuzzing improvements (#453) | Alon Zakai | 2016-05-06 | 1 | -15/+22 |
| | |||||
* | Merge pull request #449 from WebAssembly/fuzz-relooper | Alon Zakai | 2016-05-06 | 8 | -29/+857 |
|\ | | | | | Fuzz the relooper through the c api | ||||
| * | add a fuzzer for the relooper through the C API | Alon Zakai | 2016-05-06 | 3 | -0/+804 |
| | | |||||
| * | add a return type parameter to call and call_import in the C API. we need it ↵ | Alon Zakai | 2016-05-06 | 5 | -27/+49 |
| | | | | | | | | since we don't know the type while building functions | ||||
| * | comments in c api header | Alon Zakai | 2016-05-06 | 1 | -2/+4 |
|/ | |||||
* | Use rpath instead of LD_LIBRARY_PATH for shared object use (#448) | Derek Schuff | 2016-05-06 | 3 | -22/+23 |
| | | | | | | | | Use the -rpath linker flag to locate libbinaryen-c.so instead of injecting paths into the user's LD_LIBRARY_PATH Also Link libsupport and libasmjs into libbinaryen-c Fixes #444 | ||||
* | using find_package(Threads) for setting the compilation flags (#390) | Adam Smaza | 2016-05-06 | 1 | -2/+7 |
| | |||||
* | Fix BreakSeeker for switch default targets. (#447) | Michael Bebenita | 2016-05-06 | 3 | -0/+31 |
| | |||||
* | add reading and writing binaries to C API (#443) | Alon Zakai | 2016-05-05 | 4 | -0/+69 |
| | |||||
* | fix breakage on master from #441 (#445) | Alon Zakai | 2016-05-05 | 2 | -2/+11 |
| | |||||
* | Merge pull request #439 from WebAssembly/c-api-more | Alon Zakai | 2016-05-05 | 6 | -341/+374 |
|\ | | | | | Validation in C API | ||||
| * | add validation to the C api, and fix things that uncovered in the C API tests | Alon Zakai | 2016-05-05 | 4 | -340/+369 |
| | | |||||
| * | improve validator error message on set_local | Alon Zakai | 2016-05-05 | 1 | -1/+1 |
| | | |||||
| * | fix set_local finalize() | Alon Zakai | 2016-05-05 | 1 | -0/+4 |
| | | |||||
* | | Fix NaN / 0 (#442) | JF Bastien | 2016-05-05 | 1 | -4/+30 |
| | | | | | | As discussed in: https://github.com/WebAssembly/spec/pull/282#issuecomment-217280544 | ||||
* | | Fix LD_LIBRARY_PATH (#441) | JF Bastien | 2016-05-05 | 2 | -2/+2 |
| | | | | | | It needs to be concatenated, not overwritten. | ||||
* | | Merge pull request #436 from WebAssembly/fix-switch | Alon Zakai | 2016-05-05 | 3 | -6/+49 |
|\ \ | | | | | | | Fix switches in simplify-locals | ||||
| * | | clear sinkables on unoptimizable blocks, as they have a control flow merge | Alon Zakai | 2016-05-05 | 3 | -6/+48 |
| | | | |||||
| * | | note defaults of switches in SimplifyLocals | Alon Zakai | 2016-05-05 | 1 | -0/+1 |
| |/ | |||||
* | | make wasm.js safe in closure compiler (#438) | Alon Zakai | 2016-05-05 | 1 | -1/+1 |
| | | |||||
* | | [Linker] Make repeated passes over archive members (#440) | Derek Schuff | 2016-05-05 | 6 | -23/+53 |
| | | | | | | | | | | | | | | | | | | An archive member can depend on any other archive member, so adding a member to the link can introduce new undefined references that must be satisfied. The linker must continue to iterate over the members until nothing new is added to the link. | ||||
* | | make print flags in archive.cpp nicer (#437) | Alon Zakai | 2016-05-05 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #435 from WebAssembly/more-relooper | Alon Zakai | 2016-05-05 | 14 | -15/+295 |
|\ | | | | | Add optimization to C API, and with that, more relooper tests | ||||
| * | improve test | Alon Zakai | 2016-05-05 | 2 | -3/+3 |
| | | |||||
| * | add optimization to c api, and so that we can find all passes in the c api ↵ | Alon Zakai | 2016-05-05 | 7 | -1/+178 |
| | | | | | | | | library, make it dynamic | ||||
| * | handle missing local names in ReorderLocals | Alon Zakai | 2016-05-05 | 1 | -2/+5 |
| | | |||||
| * | better error on missing passes | Alon Zakai | 2016-05-05 | 1 | -1/+2 |
| | | |||||
| * | simplify PassRunner API, get a module directly | Alon Zakai | 2016-05-05 | 5 | -10/+11 |
| | | |||||
| * | fix archive.cpp on 32-bit | Alon Zakai | 2016-05-05 | 1 | -1/+1 |
| | | |||||
| * | add a relooper test | Alon Zakai | 2016-05-05 | 2 | -0/+98 |
|/ | |||||
* | Import emscripten's relooper, port it to the binaryen AST, and provide a C ↵ | Alon Zakai | 2016-05-05 | 10 | -7/+1681 |
| | | | | | API (#434) also ignore libstdc++ bug in ubsan | ||||
* | [Linker] Handle archive files | Derek Schuff | 2016-05-05 | 19 | -15/+616 |
| | | | | | | | | Add a class to parse archive files. Support linking archive files, with archive semantics (i.e. an archive member is linked in if it satisfies an undefined reference). Archive files must be gnu-format archives containing .s files. Add tests for linking semantics. | ||||
* | Nicer shift masks (#431) | JF Bastien | 2016-05-04 | 1 | -7/+13 |
| | | | | | | | | * Nicer shift masks * Yet nicer shift mask. * Fix typo. | ||||
* | Harmonize the internal opcodes with the binary format (#433) | Alon Zakai | 2016-05-03 | 16 | -180/+325 |
| | | | | | | * harmonize the internal opcodes with the binary format, so they clearly parallel, and also this helps us avoid needing the type to disambiguate * comment on GetLocal in C API | ||||
* | Merge pull request #427 from WebAssembly/c-api-nice | Alon Zakai | 2016-05-03 | 10 | -18/+1249 |
|\ | | | | | C API | ||||
| * | kitchen sink test for c api | Alon Zakai | 2016-05-03 | 7 | -18/+562 |
| | | |||||
| * | C API plus test | Alon Zakai | 2016-05-02 | 6 | -15/+690 |
| | | |||||
| * | add a default finalize() so it is valid to call on any node | Alon Zakai | 2016-05-02 | 1 | -1/+3 |
| | | |||||
| * | makeLoop and makeBreak | Alon Zakai | 2016-05-02 | 1 | -2/+12 |
| | | |||||
* | | Fix signed integer overflow UB (#430) | JF Bastien | 2016-05-03 | 3 | -8/+8 |
| | | | | | | This puts us back where #404 wanted to be: all UB that ubsan knows about now causes an abort. This ins't to say that it's all gone, merely that our tests don't trigger any more UB which ubsan knows how to find :-) | ||||
* | | Fix shift UB (#429) | JF Bastien | 2016-05-03 | 2 | -7/+7 |
| | | | | | | Getting close to finishing #404. |