After this patch is submitted, gold linker started printing bunch of "warning: relocation refers to discarded section" warning messages. I don't know if this is a bug of gold or this patch. Rafael, do you have any idea?
On Wed, Oct 9, 2013 at 5:14 PM, Eric Christopher <[email protected]> wrote: > On Wed, Oct 9, 2013 at 2:14 PM, Rafael Espíndola > <[email protected]> wrote: > > The problem seems to be that clang produces > > > > _ZN7DerivedD1Ev = _ZN7DerivedD2Ev > > _ZN7DerivedD2Ev = _ZN4BaseD2Ev > > > > While gcc is less aggressive: > > > > .set _ZN7DerivedD1Ev,_ZN7DerivedD2Ev > > > > Should we disable the "derived destructor == base destructor" > > optimization at -O0? > > > > We definitely shouldn't disable it at a particular optimization level > just to make debugging easier. The testcase isn't very clear why it > expects that we should be able to go up from the derived destructor to > the base destructor here. > > -eric > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
