Displaying 1 result from an estimated 1 matches for "int_and_newline".
2012 Mar 12
2
[LLVMdev] LLI Segfaulting
...x i32]* %2 to i8*
call void @llvm.memcpy.p0i8.p0i8.i64(i8* %3, i8* bitcast ([5 x i32]*
@.gvar_array to i8*), i64 20, i32 4, i1 false)
%4 = getelementptr inbounds [0 x i32]* %2, i64 0, i64 0
%5 = load i32* %4, align 4
%6 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([4 x i8]*
@.int_and_newline, i64 0, i64 0), i32 %5) nounwind
ret void
}
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64,
i32, i1) nounwind
> lli array_ex.bc
1
Segmentation fault
If anyone would care to let me know what information is required to help
here, then I'll supply it.
Thanks,
F...