Alain Frisch
291a4207ad
Cleanup natdynlink. Automatic initialization of Dynlink (bytecode and native code). Do not use RTLD_GLOBAL for Dynlink.loadfile_private in native code.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8873 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 12:24:10 +00:00
Xavier Leroy
640b24249d
Ability to print and capture exception backtraces (see stdlib module Printexc)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8839 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-14 13:47:24 +00:00
Xavier Leroy
7b4d9a46a3
New API for registration of global memory roots that are scanned in a generational manner
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8828 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-10 19:56:39 +00:00
Damien Doligez
04aa158cb6
merge changes from 3.10.1 to 3.10.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 14:21:22 +00:00
Damien Doligez
9ea5edac9a
merge changes 3.10.0 -> 3.10.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Xavier Leroy
a3c0366f4e
PR#4448: replace dense page table by sparse hash table.
...
Introduction and use of macros Is_in_value_area, Is_in_heap_or_young.
Removal of USE_MMAP_INSTEAD_OF_MALLOC.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8743 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-03 09:37:10 +00:00
Damien Doligez
e9a9bf9613
PR#3114 make all error messages start with a location and "Error: "
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-04 13:38:58 +00:00
Alain Frisch
1b059475c8
Cleanup and factorization of linker-related code.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 13:21:15 +00:00
Alain Frisch
5a8f5b8063
Do not hardcode path to flexdll.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8517 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-13 15:44:33 +00:00
Alain Frisch
93e7b253b8
Trying to make it work under both 10.4 and 10.5.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8515 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 18:08:49 +00:00
Alain Frisch
fef1887f9a
Applying patch leopard-compilation-fix2.patch (PR #4439 ).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8513 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 17:24:47 +00:00
Alain Frisch
8a11c2d1a4
Fix typo (AS -> ASM).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8479 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:48:11 +00:00
Alain Frisch
3958a92c72
Merge the natdynlink branch into HEAD.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Xavier Leroy
9ccb911666
Can select which assembler to use at configuration time (PR#4171)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8462 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-30 12:37:16 +00:00
Damien Doligez
773ff5b883
probleme avec les .depend
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 12:30:31 +00:00
Nicolas Pouillard
ef8d50b6c2
Add signals.c to .cvsignore
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7950 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 14:35:37 +00:00
Xavier Leroy
b4beb4dd7f
Stack overflow detection not working under Win64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 10:27:48 +00:00
Xavier Leroy
66b5626778
Stack backtraces for Win64/AMD64 (bug fixes)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7942 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 10:26:51 +00:00
Xavier Leroy
d42ff170b6
Stack backtraces for Win64/AMD64 (not tested yet)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7941 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 10:12:38 +00:00
Xavier Leroy
cdd2241864
Factor out common code between byterun/signals.c and asmrun/signals.c:
...
- shared code in byterun/signals.c
- bytecode-specific code in byterun/signals_byt.c
- asm-specific code in asmrun/signals_asm.c
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7904 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 09:29:45 +00:00
Alain Frisch
5b23012b0e
wrong branch... rollback
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-15 18:36:08 +00:00
Alain Frisch
a06311fc5f
starting to implement native dynlink for Unix
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7864 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-15 18:32:09 +00:00
Damien Doligez
f700284aac
fusion des changements 3.09.3 -> release309_merge310
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 13:31:15 +00:00
Xavier Leroy
0eaf3a256c
System stack overflow detection for Win32
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7814 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 15:50:45 +00:00
Xavier Leroy
c41682fdc1
Typo in call to caml_c_call
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7813 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 15:44:42 +00:00
Xavier Leroy
4b5512c74c
Stack backtraces on uncaught exceptions in native code (merge of the opt_backtrace branch)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 12:11:18 +00:00
Xavier Leroy
24d7c3c7f7
Compatibilite avec versions plus recentes de ml64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7810 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-24 14:14:28 +00:00
Damien Doligez
f38100ea36
PR#4167 ajout de const dans fail.h (suite)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7761 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-28 15:45:24 +00:00
Xavier Leroy
f2027274dd
gprof profiling support for MacOSX/Intel (PR#4087)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7692 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-16 08:40:42 +00:00
Xavier Leroy
34430286a5
Stack overflow detection for MacOSX/Intel
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7691 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-16 08:19:51 +00:00
Damien Doligez
fbea66a95e
fusion des changements 3.09.2 -> 3.09.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Xavier Leroy
a5eab1b872
Stack overflow detection for MacOSX/PowerPC
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7432 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-31 15:53:18 +00:00
Xavier Leroy
61866c7769
Portage PowerPC 64 bits
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7431 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-31 12:57:20 +00:00
Xavier Leroy
d9be4fee6a
Portage PowerPC 64 bits
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-31 08:16:34 +00:00
Xavier Leroy
9da66f1d69
Unused variables
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7428 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-31 08:15:04 +00:00
Xavier Leroy
e3ac89c82d
Suite essais Win64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7398 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-05 13:50:14 +00:00
Xavier Leroy
a8ac504984
First cut for AMD64/Win64 port of ocamlopt
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-04 12:43:40 +00:00
Damien Doligez
1279ab4b76
fusion des changements 3.09.1 -> 3.09.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Damien Doligez
125ea40d4c
fusion 3.09.0 -> 3.09.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Xavier Leroy
b07ad206c0
Typo for Alpha
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7131 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-14 16:41:30 +00:00
Xavier Leroy
9d8af3af3c
Erreur dans le precedent commit (handle_signal et caml_record_signal)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7122 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-13 07:41:34 +00:00
Xavier Leroy
231adf399e
Typo
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7116 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-12 12:56:53 +00:00
Xavier Leroy
b7e2234b9a
Suite nettoyage signaux (pour Win32)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7115 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-12 12:33:47 +00:00
Xavier Leroy
3de54dec26
Remplacement long/unsigned long par intnat/uintnat
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-22 14:21:50 +00:00
Xavier Leroy
072e77b3ba
Nettoyage du code qui teste les signaux en attente.
...
Tester systematiquement les signaux dans leave_blocking_section.
Tester aussi dans Sys.signal (s'il y a un signal en attente dont on
change le comportement en Signal_ignore, p.ex.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6999 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-31 12:31:03 +00:00
Damien Doligez
9a9886022f
depend
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6992 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-29 15:54:25 +00:00
Xavier Leroy
da79df9b18
Revu gestion des signaux et leurs interactions avec les threads systeme (PR#3659)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6987 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-29 12:11:01 +00:00
Xavier Leroy
ef57438f9f
Windows n'a pas sigaction et al
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6985 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-28 16:28:41 +00:00
Xavier Leroy
bc037fc29f
Normalisation des numeros de signaux renvoyes par Unix.wait* (PR#3584)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6845 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-17 08:23:51 +00:00
Damien Doligez
e6007f6057
fusion des changements jusqu'a 3.08.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 17:20:54 +00:00