1. 26 Dec, 2018 2 commits
  2. 24 Dec, 2018 2 commits
  3. 23 Dec, 2018 3 commits
  4. 21 Dec, 2018 3 commits
    • Alon Zakai's avatar
      if in EMCC_DEBUG, use the canonical temp dir as the emcc temp dir (#7710) · 1947b6d6
      Alon Zakai authored
      This makes the EMCC_DEBUG-logged commands, like wasm-ld, use inputs that are not cleaned up when emcc.py exits, so that when debugging you can literally copy and paste those commands from the EMCC_DEBUG logging to re-run them.
      1947b6d6
    • Alon Zakai's avatar
      show an error when trying to do OUTLINING_LIMIT with the LLVM wasm backend.... · 205d3839
      Alon Zakai authored
      show an error when trying to do OUTLINING_LIMIT with the LLVM wasm backend. this gives us a clear error, and also prevents some wasted work on CI (#7711)
      
      205d3839
    • Alon Zakai's avatar
      Optimize memcpy for the wasm backend (#7648) · d48d3b55
      Alon Zakai authored
      This makes memcpy around 572 bytes, as opposed to 1,400 which is the size of musl's. This is noticeable on small programs where this can save 2-3% or so.
      
      The memcpy impl here is a conversion from the asm.js one which we benchmarked extensively in the past.
      
      Note that this only affects the wasm backend, as we build this into compiler-rt.
      
      Also fix the compilation of compiler-rt, which did not include -D__EMSCRIPTEN__ before.
      
      Fixes #7639
      d48d3b55
  5. 20 Dec, 2018 1 commit
    • Alon Zakai's avatar
      Update emsdk CI code (#7709) · a7d046be
      Alon Zakai authored
      We can now use emsdk [install|activate] latest-upstream to get the wasm backend builds, without hacks to get the lkgr etc. The emsdk also fetches a proper node for us, so we can remove that hack as well.
      a7d046be
  6. 19 Dec, 2018 4 commits
  7. 18 Dec, 2018 9 commits
  8. 17 Dec, 2018 4 commits
  9. 15 Dec, 2018 1 commit
    • Sam Clegg's avatar
      Pass --import-table to lld to ensure table is import from JS (#7661) · 2ec73eac
      Sam Clegg authored
      Importing the table from JS matches the behaviour of ams2wasm, allows
      for table manipulation from JS (e.g in addFunction) and is essential for
      dynamic linking where the table must be shared between modules.
      
      This change also sets wasmTableSize in the wasm backend path based on
      the metadata provided by wasm-emscripten-finalize.
      2ec73eac
  10. 14 Dec, 2018 5 commits
  11. 13 Dec, 2018 6 commits