Displaying 1 result from an estimated 1 matches for "_gc_safepoint_map".
Did you mean:
l_gc_safepoint_map
2010 Oct 10
1
[LLVMdev] More questions about non_lazy_ptr
...oint map. Here's what the code looks like in IR:
%init = invoke {} @GC_init(i32* getelementptr inbounds ([0 x i32]*
@gc_safepoint_map, i32 0, i32 0))
to label %nounwind unwind label %catch
When lowered to assembly, the code looks like this on OS X:
Ltmp426:
movl L_gc_safepoint_map$non_lazy_ptr, %eax
movl %eax, (%esp)
calll _GC_init
(and later on in the same file):
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...