This is the mail archive of the dwarf2@corp.sgi.com mailing list for the dwarf2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dwarf and clones


Jason Merrill wrote:
> 
> Some highly optimizing compilers (SGI's?) generate multiple copies of a
> function specialized for particular arguments.  How should such a thing be
> represented?
> 
> The simplest option would be to treat each as a normal function, with
> almost identical debugging information apart from code addresses.  But it
> occurs to me that another option would be to treat them as multiple
> concrete instances of an inline function.

I think SGI does the first, but I'm not sure.  Perhaps Dave knows?

Jim
-- 
-	    Jim Dehnert		dehnert@transmeta.com
	    (408)919-6984	dehnertj@acm.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]