search for: 738f4847

Displaying 1 result from an estimated 1 matches for "738f4847".

Did you mean: 3814847
2016 Jun 30
1
Use iterator misunderstanding?
Hi, I try to follow the use of the value yielded by a malloc call. Here follows a concrete example of what I expect and what I get. define void @main() #0 { entry: %ptr = alloca i8*, align 8 %call = call noalias i8* @malloc(i64 10) #2 store i8* %call, i8** %ptr, align 8 %0 = load i8*, i8** %ptr, align 8 call void @free(i8* %0) #2 ret void } It is a simple program that allocates and