[PATCH] D35263: [ELF] - Fix handling of weak symbols from static library when using version script.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 10:52:14 PDT 2017


Rui Ueyama via Phabricator <reviews at reviews.llvm.org> writes:

> ruiu added inline comments.
>
>
> ================
> Comment at: ELF/Symbols.h:69
> +  bool isInCurrentDSO() const {
> +    return !isUndefined() && !isShared() && !isLazy();
> +  }
> ----------------
> Is this the same as `isDefined()`?

No, a shared symbol is defined for example.

Cheers,
Rafael


More information about the llvm-commits mailing list