search for: a52aa024

Displaying 2 results from an estimated 2 matches for "a52aa024".

2013 Dec 03
0
[LLVMdev] Newbie question: LLVM IR, printf, and varargs
...ut found nothing of relevance. > > You're missing the cast, IMHO. The cast appeases the LLVM type checker w.r.t. mismatching function type Eli -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131203/a52aa024/attachment.html>
2013 Dec 03
2
[LLVMdev] Newbie question: LLVM IR, printf, and varargs
Hi, I am trying to print two strings using printf. I have tried various things, but keep getting this error: llc: printf.ll:4:11: error: '@printf' defined with type 'i32 (i8*, ...)*' %1 = call i32 @printf(i8* null, i8*, i8* null) The code is: declare i32 @printf(i8* nocapture readonly, ...) nounwind define i32 @main() nounwind { %1 = call i32