<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Folks,<div><br></div><div>I am newbie to llvm!</div><div><br></div><div>I am writing a simple pass that inherits from ModulePass. I override the runOnModule method. In the method, i am attempting to print all the function in the module and the source-file they appear in. I could print the name of the function using the Module::iterator. I am, however, not able to figure-out the way to identify the source-file for a given "Function". Any help in this regards is appreciated.</div><div><br></div><div>Thanks and with best regards,</div><div>Nizam</div><div><br></div></div></body></html>