I considered to use it as a starting point to build the control-flow graph of
a function in order to display it in a custom profiler we use internally since
I could assume that I had the debugging information and I had to read the
.debug_line section anyway to get the source lines.
I ended up not using it and it's clear to me that its practical uses may be
questionable ("fast" single stepping in a debugger?) but I thought it might
be worth to share it.
r
On Nov 15, 2011, at 7:17 AM, Tom Tromey wrote:
>>>>>> "Roberto" == Roberto Agostino Vitillo <[email protected]> writes:
>
> Roberto> With this patch DW_LNS_set_basic_block opcodes are emitted in
> Roberto> the .debug_line section marking the instructions that indicate
> Roberto> the beginning of a basic block as specified by the dwarf
> Roberto> standards 2,3 and 4.
>
> I'm curious to know what use you have for this.
>
> Tom