Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    DRAFT: introduce Compilation_unit_intf to identify interfaces

    A reduced version of #6785. Refactors cross-file references so that interfaces and implementations have distinct identities:

    Zesen Qian (@riaqn)
  2. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Deduplicate contents of continuation handlers

    Note: This is a quick proof of concept for #6751; it is experimental (notably we likely want a better hash function on primitives) and not intended to be merged as is.

    Basile Clément (@bclement-ocp)
  3. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Disable oclassic and make all symbols global for LTO

    These are not ideal for the final version but hopefully they make it work for now!

    Miriam Vellacott (@mirivella)
  4. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Disable oclassic during LTO

    This PR disables the oclassic mode when LTO support is enabled. The reason is that we need the corresponding .cmr files.

    Simon Spies (@spiessimon)
  5. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Disable unboxing and calling convention changes in the reaper when we're doing LTO

    Force -no-reaper-unbox and -no-reaper-change-calling-conventions during solve and rebuild. These flags are only ever read inside Unboxing_analysis, which is not used at all during traverse.

    Miriam Vellacott (@mirivella)
  6. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Downstream changes from Merlin that improve the performance of the indexer

    This PR downstreams two separate PR from ocaml/merlin that improve the memory management for the indexer: ocaml-index. This work is part of the Tarides proposal about "Indexer memory management".

    Tim ats (@Tim-ats-d)
  7. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Enable layout-any function returns

    Follow-up to #6467, based on dkalinichenko/layout-any-return-typing.

    dkalinichenko-js
  8. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Enable more warnings in cfg_selectgen and its target interface

    Drop the -9 from the warning attribute of cfg_selectgen.ml, so that record patterns must mention every field, and add the same +a-4-40-41-42 attribute to cfg_selectgen_target_intf.ml, which had none.

    Xavier Clerc (@xclerc)
  9. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Enable the fragile-match warning in the CFG instruction selectors

    Drop the -4 from the warning attributes of cfg_selectgen.ml, cfg_selectgen_target_intf.ml and the amd64 and arm64 cfg_selection.ml, so that catch-all cases in matches over variants are reported.

    Xavier Clerc (@xclerc)
  10. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Evaluate Delta_uleb128 constants generally in the x86 binary emitter

    Replaces the exact expression-shape matching for Delta_uleb128 in the x86 binary emitter with a recursive evaluator over the constant language. The sections of operands are tracked, so any assembly-time-constant combination of labels, symbols and integers is accepted, and only differences within a single section (which are link-time invariant) can produce a …

    Mark Shinwell (@mshinwell)
  11. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Exclude test outputs from the XXX check

    Exclude .reference, .output and .expected files from "no XXX" CI check (#6662).

    Ryan Tjoa (@rtjoa)
  12. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Expose modality implications for structured diagnostics

    Gavin Gray (@gavinleroy)
  13. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Expose typed mode-error provenance

    This PR exposes function to make working with a Mode_hint outside of Mode easier.

    Gavin Gray (@gavinleroy)
  14. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Expose uniqueness errors for structured diagnostics

    let dup x = ((x, x) : @ unique)

    Gavin Gray (@gavinleroy)
  15. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Fetch at depth 2 for CI diff checks instead of deepening

    The "check" job diffs added lines against HEAD^1, the first parent of

    Luke Maurer (@lukemaurer)
  16. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Fix GC idle phase so that Gc.major_slice() always advances the GC

    Since the introduction of the GC idle phase, for some programs, calling Gc.major_slice any number of times, with any slice size, might not advance the GC (without any allocation taking place, the incurred-work counter would not advance, and the completed-work counter would never overtake it, so it might never reach the min_before_mark level and escape the id…

    Nick Barnes (@NickBarnes)
  17. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Fix allocation pointer bug on stack overflow

    When we use guard pages to raise Stack_overflow we go from OCaml code, via a SEGV handler and a little asm stub, to caml_raise_stack_overflow. Somewhere on that path we need to save the allocation point register %r15, otherwise recently-allocated values will be allocated over, leading to memory corruption.

    Nick Barnes (@NickBarnes)
  18. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Fix dwarf shapes for unboxed versions of types and `unit#`

    We fix two issues:

    Ryan Tjoa (@rtjoa)
  19. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Fix encoding of RIP-relative and sub-word operands in the x86 binary emitter

    emit_movsx and emit_MOVZX in the x86 binary emitter code only accepted Mem, Reg8L/Reg8H and Reg16 source operands. A RIP-relative source is represented by the separate Mem64_RIP constructor, so it fell through to assert false.

    Mark Shinwell (@mshinwell)
  20. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Fix flambda2 all-value mixed record length in metadata

    When lowering a Pduprecord for all-value mixed record representations, Lambda_to_flambda_primitives.convert_lprim incorrectly uses the number of fields for the Duplicate_block_kind.t's length, rather than the actual size in words. These can differ because such representations can include void and products.

    Ryan Tjoa (@rtjoa)