search for: __printi

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

Did you mean: __printf
2011 Apr 05
0
[LLVMdev] how to use the shadow-stack?
...I'm having trouble putting everything together, even in this simple case. My compiler generates the necessary gcroot instructions and for now I would be glad just being able to walk through the roots and print out some numbers. For example, I have the following my.ll file: my.ll: declare {} @__printi(i64) define i32 @mymain() gc "shadow-stack" { entry: %0 = alloca [0 x i64]* %1 = call [0 x i64]* @malloc(i64 80) store [0 x i64]* %1, [0 x i64]** %0 %2 = bitcast [0 x i64]** %0 to i8** call void @llvm.gcroot(i8** %2, i8* null) %3 = getelementptr [0 x i64]* %1, i32 0, i32 2...