search for: shariffdeen

Displaying 5 results from an estimated 5 matches for "shariffdeen".

2018 May 15
2
source line number for instruction
...ied 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:...
2018 May 24
1
Getting variable names from LLVM Pass
...chael, Thanks for the help, it seems like you said its not going to be easy. But I will have a try at this, thank you for the link to LibTooling. Best On Mon, May 21, 2018 at 6:26 PM Dean Michael Berris <dean.berris at gmail.com> wrote: > > > > On 21 May 2018, at 18:38, Ridwan Shariffdeen via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > > Hi, > > > > I want to retrieve the variable names used in a statement, I tried the > following snippet, > > but it only gives me the variable named in llvm bitcode. I need the > variable name in...
2018 May 15
0
source line number for instruction
Not sure what you tried/how it didn't work - could you explain more? You could scan through all the llvm::Functions in an llvm::Module and look at the debug info associated with them (getSubprogram) then check the location of that debug info. - Dave On Tue, May 15, 2018 at 12:46 AM Ridwan Shariffdeen via llvm-dev < llvm-dev at lists.llvm.org> wrote: > 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.ht...
2018 May 21
2
Getting variable names from LLVM Pass
...bitcode. I need the variable name in source code. for (auto op = I.op_begin(); op != I.op_end(); op++) { Value* v = op->get(); StringRef name = v->getName(); } Is there specific documentation I can refer to implement this? Thanks -- *Ridwan Shariffdeen* Graduate Student | National University of Singapore -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180521/9e636ceb/attachment.html>
2018 May 21
0
Getting variable names from LLVM Pass
> On 21 May 2018, at 18:38, Ridwan Shariffdeen via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi, > > I want to retrieve the variable names used in a statement, I tried the following snippet, > but it only gives me the variable named in llvm bitcode. I need the variable name in source code. > > for (auto op...