Displaying 1 result from an estimated 1 matches for "safepointmap".
2010 Oct 10
1
[LLVMdev] More questions about non_lazy_ptr
...):
L_gc_safepoint_map$non_lazy_ptr:
.indirect_symbol _gc_safepoint_map
.long 0
This looks correct to me - it's dereferencing the non_lazy_ptr version of
the global.
The GC_init function, which is written in C, simply looks like this:
void GC_init(size_t * safepointMap) {
// ... details omitted...
}
On Linux, everything works as expected, however in OS X, the 'safepointMap'
pointer is completely wrong - I'm not sure where it's getting the value from
but it isn't sensible.
Unfortunately, gdb won't let me print out the value of of
L_...