[PATCH] D13345: [ELF2] Add --undefined option

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 10:53:21 PDT 2015


On Fri, Oct 2, 2015 at 10:50 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> > It is OK for now. We don't do multi-threading soon. We probably want to
> have a init() function for each file which initialize static members. We
> can do that later.
>
> It should be possible to statically initialize this somehow, but need
> to look deeper a bit on why just
>
> template <class ELFT>
> typename DefinedAbsolute<ELFT>::Elf_Sym
> DefinedAbsolute<ELFT>::IgnoreUndef = {0, 0, ..., 2, 0... };
>
> Doesn't compile.
>

I don't really like that initializer though because I don't remember the
total number or the order of the members.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151002/df192889/attachment.html>


More information about the llvm-commits mailing list