Repository activity
40458 results across all weeks
Wasm: resolve assets relative to the runtime file, not require.main
The node runtime loaded the separately-compiled .wasm assets from path.dirname(require.main.filename) — the process entry point — so a program failed to find them when loaded through require (e.g. behind a CLI wrapper) or a symlink, and crashed outright when require.main was undefined (worker threads, node -e). Use module.filename instead, locating the a…
Jérôme Vouillon (@vouillon)ci(doc): fail the build on a dead reference or a leftover wiki image
wodoc build reports the markup that was meant to become a link or an image and
Vincent Balat (@balat)tests-full: refresh stdlib 5.6 snapshot for OCaml trunk changes
Fixes the 5.6+trunk / Ubuntu CI failure on master.
hhugowasm_of_ocaml: add --setenv
Jérôme Vouillon (@vouillon)AFL-based fuzzer for CFG dominators
(This is on top of hwasilewskijs#2, which should be merged first - only the latest commit is new.)
Xavier Clerc (@xclerc)Add CI check for committed ignored files
The repo currently has a handful of files that match patterns in the .gitignore but are committed anyways:
Liam Stevenson (@liam923)Add DWARF-5 variants of the LLDB DWARF tests
Adds a dwarf5/ subdirectory to oxcaml/tests/backend/oxcaml_dwarf that builds and runs the existing LLDB tests compiled with -gdwarf-version 5.
Mark Shinwell (@mshinwell)Add `Compression` module to ocamlcommon
Taking advantage of the lack of runtime4, this reduces the diff with upstream in a few places by taking upstream's Compression module from ocamlcommon exactly as-is, and simply ensuring that compressed marshalling can never be enabled in OxCaml. It also implements the build system work necessary to support -lcomprmarsh necessary for ocamlcommon.cmxa.
David Allsopp (@dra27)Add `initial-exec` TLS model configuration option
The runtime implementation makes use of several TLS variables. On GNU/Linux this is quite efficient when code is compiled in non-PIC mode (so the local-exec model can be used).
Nicolas Trangez (@NicolasT)Add `module-type-impls` query
This PR adds the Merlin query module-type-impls that returns the modules that are required to implement the specified module type. This analysis will unlock broader functionality within Merlin, specifically for the Interface Strengthener, which annotates an .mli file with modes, modalities, and kinds.
Gavin Gray (@gavinleroy)Add `returns : bool` to `Capply`
This mirrors Cextcall. This is useful for a subsequent PR that implements machtype checking, as some expressions generated by the reaper never return and aren't given a compatible machtype.
James Rayman (@jra4)Add a `[@table]` attribute forcing match dispatch through a jump table
Caveats
Xavier Clerc (@xclerc)Add a static CFG block-layout pass (`-cfg-block-layout`)
This pull request adds a new pass to try
Xavier Clerc (@xclerc)Add atomic ext_ptr and remove user atomics caml_domain_alone optimization
This PR implements the %unsafe_atomic_*_ext_ptr family of primitives, intended
Joe Kerrigan (@joe-kerrigan)Add deployment environments for PR secrets
What
Jacob Van Buren (@jvanburen)Add empty-loop deletion to the SSA pipeline
Stacked on #5810; only the final commit is new.
Mark Shinwell (@mshinwell)Add empty-loop deletion to the SSA pipeline
Stacked on #5810: this branch is based on the current head of #5810, so only the final commit is new; please review that commit only. (The base branch is main because GitHub cannot target a base branch living in a fork.)
Mark Shinwell (@mshinwell)Add mode error hints for function application
What the titles says. The error hints read a bit strange, but I think it's still an improvement. We will refactor the printing logic in a near future PR.
Zesen Qian (@riaqn)Add module type information to compiler artifacts (cms/merlin-index)
This PR adds module facts to build artifacts. The module facts help us answer module flow queries such as "which modules must implement a given module type".
Gavin Gray (@gavinleroy)Add optional emission of DWARF-4 type units into .debug_types
Part of the series reducing the size cost of --enable-oxcaml-dwarf-on-compiler, now based directly on main (previously stacked on #6916). Adds cross-compilation-unit sharing of DWARF type descriptions via DWARF-4 .debug_types type units, behind a new flag -gdwarf-type-units (default off — see below).
Mark Shinwell (@mshinwell)