Re: line info

2019-09-12 Thread Sasha Da Rocha Pinheiro
I'm using libdw to: dwarf_getsrclines(&cuDIE, &lineBuffer, &lineCount); for (size_t i = 0; i < lineCount; i++) {         auto line = dwarf_onesrcline(lineBuffer, i);         dwarf_lineno(line, ¤t_statement.line_number);         const char *file_name = dwarf_linesrc(line, NULL, NULL);         statu

Re: line info

2019-09-12 Thread Mark Wielaard
Hi Sasha, On Wed, Sep 11, 2019 at 09:52:23PM +, Sasha Da Rocha Pinheiro wrote: > how do we get the line info range end address for a given line and file? I am not sure I understand your question competely. What are you using to get at the line and file? In theory there is no "range end addr