enhance .loc directive for dwarf3 special features
Daniel Jacobowitz
drow@false.org
Wed Sep 7 15:08:00 GMT 2005
On Wed, Sep 07, 2005 at 04:49:11AM -0700, Richard Henderson wrote:
> This patch adds some sub-directives to ".loc" to enable access to
> the entire dwarf3 state machine. Well, actually, two of these
> were present in dwarf2 and we hadn't exposed them either.
>
> I think the syntax is fairly clean, but if someone thinks we should
> use separate directives like ".loc_basic_block", speak now or forever
> hold your peace.
Hmm, I would have expected:
.loc [FILE LINE [COLUMN]] [basic_block] [is_stmt [VALUE]]
et cetera. I think it's still unambiguous. The chattier we make these
things, the longer it'll take to assemble them... but probably not a
big deal.
Awesome to see this implemented.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Binutils
mailing list