| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cherry picked from commit a6cd900d5fbb8420e303dfc8fded4c90d8a6f0ab)
|
|
|
|
|
|
|
| |
Deadlocks can occur due to finalizing a condition variable that is still
waited on by other threads.
(cherry picked from commit 10c91b3a8d6a526b847a4d3995b452e568627473)
|
|
|
|
|
|
|
| |
This is good style and might help with a mysterious deadlock observed
in "extra-configs" CI.
(cherry picked from commit c550639317c16851c91170d2111ca44ae1784f4b)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some `Long_val` conversions were missing.
This was setting the wrong values for the `custom_` parameters,
causing the major GC to work too much, slowing down some programs.
Add regression test.
Fixes: #9326
(cherry picked from commit 78321e6ac59e18a54cd9209aa57012f8b47908c9)
|
|
|
|
| |
Add support for iOS and macOS on ARM64
|
|
|
|
| |
Revised handing of calling conventions for external C functions
|
|
|
|
| |
(cherry picked from commit 1e98c52e9359e79633959604034a6634ca264b91)
|
|
|
|
| |
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
|
|
|
|
|
|
| |
Don't assume . in AWKPATH
(cherry picked from commit d4ace8c347a9a4f8baa8f0b1738a5b4436fcd027)
|
| |
|
|
|
|
|
|
| |
#9218: wrong file name error with -annot and inline records
(cherry picked from commit e1addb7962ab45b892eb9f1e36253f86609d314b)
|
|
|
|
|
|
| |
Fix soundness bug in Rec_check with anonymous let module
(cherry picked from commit d408e58ea15ec890a2c6d98441d261db51a6735d)
|
|\
| |
| | |
fix spurious 'unused open' warning with classes and polymorphic variants
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix access to C symbols when using Dynlink
|
| | | |
|
| |/ |
|
|/
|
|
|
|
| |
Add padding before and after the atom table
(cherry picked from commit 11b518258abc098e6bc0da9750f6ba8b62405626)
|
| |
|
|
|
|
| |
(cherry-picked from commit 27ef14dab902d4d13732c8a2dc395aa2480fa77f)
|
|
|
|
|
| |
manual: lexical highlighting
(cherry picked from commit d3ea75e8312b4d0a619e976263af7ec31e2ced9f)
|
|
|
|
| |
(cherry picked from commit 504d95c2757ac519a476921be544fb0c427d97fe)
|
|
|
|
|
| |
ocamldoc: better support of multiline code blocks in the manpage backend
(cherry picked from commit a0a2403454000d2e29f14bb46869d400e31f3f02)
|
|
|
|
|
|
|
|
| |
is on (#9117)
Error in #1859 corrected with two follow-on effects:
- lib-unix cloexec test needed updating for force-safe-string
- Windows had clearly never been tested with force-safe-string!
|
|
|
|
| |
not be ready for 4.10.
|
|
|
|
|
|
|
|
| |
* Improve errors for first-class modules
* Changes based on Jacques' suggestions
* Add Changes entry
|
|\
| |
| | |
more docstring tests
|
| | |
|
|\ \
| | |
| | | |
#8856: cyclic type expressions in error submessages
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This transformation is incorrect for certain large values of x,
as it can get the wrong value in the high bit. In certain cases
where the high bit is not used (esp. storing a byte into a string),
the transformation is kept intact.
Fixes #9028.
|
| | |
|
|\ \
| | |
| | | |
Add printf '%#F' to output floats in hexadecimal OCaml constants
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The previous mechanism worked for C calls that raise an exception, but not for C calls that call back into OCaml code which raises an exception.
This commit addresses the issue by saving the PC in the interpreter stack before a C call, so that the backtrace mechanism always sees it.
However, if an external is declared in the .ml file and exposed in the .mli file as a val, then ocamlc generates a wrapper that adds a spurious entry in the stack frame. In this PR, this change in behavior results in the re-declaration of Printexc.get_callstack as an external instead of a val, so that the spurious stack frame does not appear in call stacks obtained from Printexc.get_callstack.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Let make's default target build the compiler
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit makes it possible to build the OCaml compiler according to
its configuration by simply runnning make. There is no need to specify
neither world nor world.opt explicitly, although the two targets
remain available.
This commit also introduces (and starts making use of) the
NATIVE_COMPILER build variable whosse value is true when the native
compiler is enabled and false otherwise.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Share argument implementations
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit defines five default argument modules in
Main_args.default. Those modules provide a default implementation
for the argument of ocaml, ocamlnat, ocamlc, ocamlopt, ocamldoc,
ocamlcp, ocamloptp, and expect_test.
Grouping together those implementations allow to share as much as
possible similar implementation across executables. It should make
easier to keep synchronized the various implementation, or reuse
those implementation in alternative drivers.
|
| |/ / / |
|
|/ / /
| | |
| | | |
Also solves issue #6922
|