Kean Johnston <[EMAIL PROTECTED]> writes:

> > I don't understand why the .type and .size information is useless.
> Becuase its for a local lable only, not anything thats intended
> to wind up in the symbol table? I'm not sure what meaning a
> type and size has for a local lable like that?

Oh, I see what you mean.  Sorry.  What if you use the -L assembler
option, though?

I was misled a bit by TREE_STATIC, which is not the property you are
looking for.

> An second solution would be to have create_coverage()
> use a symbol name that isn't an internal lable. For example,
> prefixing it with __gcov_. That also solves the problem.

That sounds like a reasonable approach to me.  I don't see why it is
useful to hide these symbols entirely in any case.  It seems more
useful to have them visible to the debugger, etc.

Ian

Reply via email to