[llvm-dev] source line number for instruction

Ridwan Shariffdeen via llvm-dev llvm-dev at lists.llvm.org
Tue May 15 00:46:25 PDT 2018


Hi,

I want to retrieve a function from a source line-number, is this
something possible to achieve?
I tried the following code snippet with LLVM-7 but it doesn't seem to
workhttp://llvm.org/docs/SourceLevelDebugging.html#ccxx_frontend
<http://llvm.org/docs/SourceLevelDebugging.html#ccxx_frontend:>

Is there specific documentation I can refer to implement this?

Thanks

-- 


*Rtr. PP Ridwan Shariffdeen*
Asst. District Rotaract Representative | Rotaract District 3220
Past President | Rotaract Club of University of Moratuwa

Member | Rotaract Club of Alumni of University of Moratuwa
Graduate | University of Moratuwa

m:+94 772562002 | e:rshariffdeen at gmail.com | w:http://bit.ly/ridwanNaruto |
a: Mount Lavinia
<http://facebook.com/ridwan.naruto>  <http://linkedin.com/in/rshariffdeen>
<http://twitter.com/rshariffdeen>
<http://plus.google.com/u/0/117443860077215662076>
<http://github.com/rshariffdeen>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180515/870307dd/attachment.html>


More information about the llvm-dev mailing list