Displaying 2 results from an estimated 2 matches for "gc_safepoint_map".
2010 Oct 10
1
[LLVMdev] More questions about non_lazy_ptr
I have a problem where my LLVM-generated code works on Linux but not on OS
X, and the problem involves non_lazy_ptr.
I have an external symbol named "@gc_safepoint_map", which is generated by
the linker's GCStrategy plugin. Since it is not generated until link time, I
declared it as an external symbol so that the modules that use it can
compile without error.
Here's what the generated IR looks like:
@gc_safepoint_map = external global [0 x i32]...
2010 Aug 24
1
[LLVMdev] non_lazy_ptr question
...language I am working on), to a
module written in C (which is part of Tart's runtime library). This works
fine on Linux, but fails on OS X because the address being passed is the
"non_lazy_ptr" symbol, not the symbol itself.
In my .bc file, I've got code that looks like this:
@gc_safepoint_map = external global [0 x i32] ; <[0 x i32]*> [#uses=1]
%init = invoke {} @GC_init(i32* getelementptr inbounds ([0 x i32]*
@gc_safepoint_map, i32 0, i32 0))
to label %nounwind unwind label %catch, !dbg !400 ; <{}> [#uses=0]
In other words, we have an external symbol that...