search for: main__testprob

Displaying 1 result from an estimated 1 matches for "main__testprob".

2015 Oct 27
3
segv inside loop on x86_64
...rowing a segv on x86_64 linux using llvm 3.7. I cant see what is wrong unless its an alignment problem causing stack corruption. Its a simple naive absolute value calculation inside a loop which crashes after about 500000 iterations. Here is the IR. ; Function Attrs: nounwind uwtable define void @Main__TestProb() #0 { entry: %i = alloca i64, align 8 %j = alloca i64, align 8 store i64 0, i64* %j, align 8 store i64 1, i64* %i, align 8 br label %label_1 label_1: ; preds = %label_2, %entry %v.87 = load i64, i64* %i, align 8 %abs_icmp = icmp slt i64 %v.87...