[lld] r289084 - Move Memory.{h, cpp} to lld/Support so that we can use them from COFF.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 15:15:55 PST 2016


Chris Bieneman via llvm-commits <llvm-commits at lists.llvm.org> writes:

> Can we maybe wrap the globals from Memory.cpp either in a singleton pattern with access functions (preferred) or ManagedStatics?
>
> Avoiding the static initialization cost is desirable for both libraries and tools.

They are already static locals, no?

Cheers,
Rafael


More information about the llvm-commits mailing list