Re: Get versioned minsyms from dynamic symtab (Was: Re: How to call operator<< functions?)

Daniel Jacobowitz
2006-08-31T17:45:40Z

On Thu, Aug 31, 2006 at 07:41:20PM +0200, FrÃ©dÃ©ric Riss wrote:
> In the case of C++ classes (not POD objects, but classes with methods),
> the One Definition Rule gives us a way to identify those, doesn't it? I
> mean both classes are named basic_ostream<char,std::char_traits<char> >
> and live in the std namespace. All this is clearly described by the
> Dwarf tree structure.
> Of course in this case, we're speaking about incomplete types here, and
> we don't know they're really not simple structures. Thus applying this
> unification logic would is a bit dangerous.

Exactly.

It is impossible to get this reliably right for incomplete types.
However, I think we should do the best we can. I haven't thought
much about the implementation details yet though.

--
Daniel Jacobowitz
CodeSourcery