Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Using OCaml's run-time from LLVM-generated native code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-02-04 (07:08)
From: Alain Frisch <alain@f...>
Subject: Re: [Caml-list] Using OCaml's run-time from LLVM-generated native code
Jon Harrop wrote:
> How does OCaml's stack walker work with C code, for example? In particular, 
> how does it know what is a pointer into the heap from a C stack frame? Must 
> it be explicitly disabled?

The OCaml runtime does not scan the stack frames corresponding to C 

Jon, it is somewhat weird that you spend so much time writing about 
forking OCaml and do not take a few minutes to read the source code. The 
macros CAMLparam*, CAMLlocal* are not really that mysterious.

-- Alain