[lld] r291944 - Don't add DT_INIT/DT_FINI for undef and shared symbols.

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 22:19:27 PST 2017


On Tue, Jan 17, 2017 at 8:20 AM, Rafael Avila de Espindola <
rafael.espindola at gmail.com> wrote:

> Sean Silva <chisophugis at gmail.com> writes:
>
> > On Mon, Jan 16, 2017 at 7:11 AM, Rafael Avila de Espindola <
> > rafael.espindola at gmail.com> wrote:
> >
> >> Sean Silva <chisophugis at gmail.com> writes:
> >>
> >> >>  template <class ELFT>
> >> >> +SymbolBody *SymbolTable<ELFT>::findDefined(StringRef Name) {
> >> >>
> >> >
> >> > Can you make this name more specific so that it captures the intent of
> >> what
> >> > this function does better?
> >>
> >> I agree that "defined" is a bit overloaded, but not think of anything
> >> better ("local" is also overloaded). Maybe findInCurrentDSO?
> >>
> >
> > I like findInCurrentDSO (maybe "output DSO" instead of "current DSO"?).
>
> r292228. Thanks.
>

Thank you!

-- Sean Silva


>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170118/3ca18a66/attachment.html>


More information about the llvm-commits mailing list