This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: enhance .loc directive for dwarf3 special features
- From: Daniel Jacobowitz <drow at false dot org>
- To: Richard Henderson <rth at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 7 Sep 2005 09:28:56 -0400
- Subject: Re: enhance .loc directive for dwarf3 special features
- References: <20050907114911.GB14338@redhat.com>
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