Displaying 1 result from an estimated 1 matches for "this_ptr".
Did you mean:
this_pfn
2012 Mar 12
2
[LLVMdev] LLI Segfaulting
...vel, but segfaults either
way (the code is just a lot shorter and easier to post this way)
%MainClass = type { { i32, [0 x i32] } }
@.gvar_array = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3,
i32 4, i32 5]
define void @"MainClass::<init>()"(%MainClass* nocapture %this_ptr) nounwind
{
allocas:
%0 = getelementptr inbounds %MainClass* %this_ptr, i64 0, i32 0, i32 0
store i32 5, i32* %0, align 4
%1 = getelementptr inbounds %MainClass* %this_ptr, i64 0, i32 0, i32 1
%2 = bitcast [0 x i32]* %1 to i8*
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %2, i8* bitcast...