I agree with Logan. The pass need an input file .bc not a file .c. You can see more infromation frome the page:http://llvm.org/docs/WritingAnLLVMPass.html Thanks. Shining -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121030/21addb88/attachment.html>