Thanks a lot for the helpful info. Devang, I need line number information for a project in which we want to find a feasible path through an application based on some bug-signature that is given. And the signature includes line number info for the frames on stack. One Q regarding the mailing list: I have subscribed the list but still don't receive the mails. Could someone please let me know why? Thanks a lot, ::Saman -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090710/16df9002/attachment.html>
Hi, Thanks John it solved my prob. In particular, I need to find the file/line info. from .bc file about all locations that a specific Function is called. Is there any better way than searching all the instructions in runOnModule() during a pass? Thanks a lot, ::Saman -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090710/c5e0aa25/attachment.html>
Hello> Thanks John it solved my prob. > In particular, I need to find the file/line info. from .bc file about all > locations that a specific Function is called. Is there any better way than > searching all the instructions in runOnModule() during a pass?Iterate over Function's use chain. See http://llvm.org/docs/ProgrammersManual.html for some easy examples. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University