Repository activity
40458 results across all weeks
Expose uniqueness errors for structured diagnostics
let dup x = ((x, x) : @ unique)
Gavin Gray (@gavinleroy)Fix Linux LLDB debugger tests; run the ARM64 one in CI
We should test oxcaml-lldb on ARM64; the workflows weren't fetching it and the tests weren't testing it.
Nick Barnes (@NickBarnes)Fix META files
Fix installed metadata for compiler and bundled libraries
Jacob Van Buren (@jvanburen)Fix bug in mode polymorphism printing
During printing, we want to show an edge between two variables when there is a non-trivial relation between either their monadic or their comonadic bounds. If one part is trivial but the other is not, we construct the missing edge from the trivial bounds check.
ainageorgesFix fiber preemptibility at creation
We plan to make preemptable fibers have distinct TLS states, so it no longer makes sense for fibers to change between preemptable and non-preemptable depending on how they're resumed. This PR adds an is_preemptable flag set at creation time and splits the stdlib continuation type into preemptable and non-preemptable.
Max Slater (@TheNumbat)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)Fix missing aliases for capitalized CMI filenames
Fix missing aliases for capitalized CMI filenames
Jacob Van Buren (@jvanburen)Fix mk_is_abstract crash when a cmi is missing
Fix mk_is_abstract crash when a cmi is missing
Jacob Van Buren (@jvanburen)Fix quadratic block splitting during register allocation
While investigating #7209, I ran into another accidentally-quadratic behaviour in the backend.
Stephen Dolan (@stedolan)Fix two typos in flambda2 inlining reports
I was confused by the flambda2 inlining reports. It turns out that there's a couple of typos in the printing logic so the inlining report is not an exact log of the decisions. (These typos don't affect the actual decisions, which are fine, just the printed report)
Stephen Dolan (@stedolan)Flambda2: Fix wrong comparison function for Read_offset
Spotted while looking at the code for the indexing primitives.
Vincent Laviron (@lthls)Gc.major_slice N advances GC if N > 0, even in idle
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)Ignore DWARF-only labels in the x86 peephole optimizer
With -gdwarf-inlined-frames, DWARF range labels are inserted into Linear code before emission. The x86 peephole optimizer treated every label as a control-flow barrier, so these labels blocked optimizations such as removing the redundant cmp in:
ttebbi-janestreetImport annotation provenance into Merlin
Summary
Gavin Gray (@gavinleroy)Import modality-implication exposure into Merlin
Summary
Gavin Gray (@gavinleroy)Import mode diagnostic changes into Merlin
Import the compiler producer from #6817 into Merlin with external/merlin/scripts/import-ocaml-source.sh, and keep Merlin's command-line parsing synchronized with -structured-diagnostics.
Gavin Gray (@gavinleroy)Import moregen return-mode changes into Merlin
Administrative branch: runs external/merlin/scripts/import-ocaml-source.sh to mirror the Ctype changes from #7168 into Merlin's vendored compiler sources. The import applied cleanly with no conflicts.
Gavin Gray (@gavinleroy)Import typed mode-error provenance into Merlin
Summary
Gavin Gray (@gavinleroy)Import uniqueness-error payloads into Merlin
Summary
Gavin Gray (@gavinleroy)Improve runtime events during opportunistic GC work.
We currently don't generate runtime events appropriately during opportunistic GC work, because each spin wait may run many very small slices, and each generates several events, so the runtime events ring buffer was flooded with them. Prior to this PR, it was possible to turn on these events by setting the GC log level SLICE bit. IMO that was an ugly hack.
Nick Barnes (@NickBarnes)