Commit Graph

15 Commits (540996d21ee3793a1cecce252c81fb76a6b9fd61)

Author SHA1 Message Date
Nicolás Ojeda Bär 540996d21e Remove Spacetime 2020-10-08 20:28:12 +02:00
David Allsopp 17cceab054 Remaining functions requiring explicit export 2020-09-18 12:11:20 +01:00
Stephen Dolan 63d516bda1 Avoid running signal handlers while holding locks in io.c 2020-07-27 17:29:39 +01:00
Xavier Leroy e4bf109d1e
Signal handling in native code without the page table (#9682)
Signal handlers sometimes need to know whether the signal occurred
in ocamlopt-generated code, as opposed to runtime or C library code.

Today this determination uses a page table lookup to keep track
of dynamically-loaded modules, plus ad-hoc tests for the main program.

This PR uses the code fragment table instead.  That's more reliable,
less ad-hoc, and independent of the page table.

i386nt.asm: add caml_system__code_{begin,end}, ,like in the other ports.
2020-06-15 14:17:42 +02:00
David Allsopp a9f7d74bcf Add snprintf_os 2020-04-30 10:31:30 +02:00
David Allsopp e5ca88f4fe Remove erroneous inline from runtime/win32.c 2020-02-11 09:34:23 +00:00
David Allsopp fc03370f88 Fix force-safe-string on Windows 2019-11-14 11:18:43 +00:00
Dmitry Bely 245b71bee6 Unregister win32 stack overflow handler in caml_shutdown() 2019-10-14 15:49:01 +03:00
KC Sivaramakrishnan 45b1e18f59 young_ptr and young_limit are now in domain state 2019-08-23 09:50:05 +05:30
Jacques-Henri Jourdan 97656b1498 Use abort instead of exit(2) in caml_fatal_error.
This makes it possible to get a core dump in case of a fatal error,
which makes debugging easier.

This also
- turns a use of exit(2) to call to caml_fata_error
- replaces some uses of caml_fatal_error to a call to exit(127), when
  the error results in misuse of the runtime
- removes some useless calls to exit(-1)
2019-06-08 23:04:54 +02:00
Nicolás Ojeda Bär 51edd5117f
Merge pull request #8607 from stedolan/sane-nan
Remove LACKS_SANE_NAN and LACKS_VCSPRINTF.
2019-04-16 12:18:20 +02:00
Stephen Dolan 5b12eb53f5 Remove LACKS_SANE_NAN and LACKS_VCSPRINTF.
These were present only for MSVC 2002, which is no longer supported.
2019-04-15 16:11:29 +01:00
Nicolás Ojeda Bär 8afe2db3c6 Runtime: hide & rename _T macro (#2075)
- Rename _T macro to T to avoid conflict with
- Do not use it for ASCII character literals
- Guard T macro with CAML_INTERNALS
2019-04-14 09:13:24 +02:00
Nicolás Ojeda Bär 1f25d35237 Fix windows ANSI locale: use CP_ACP instead of CP_THREAD_ACP (#2062)
* Fix windows ANSI locale: use CP_ACP instead of CP_THREAD_ACP

* Update Changes
2018-10-03 14:19:07 +02:00
Sébastien Hinderer d3e73595e5 Merge the asmrun and byterun directories into the runtime directory 2018-06-28 17:50:33 +02:00