[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:22:24 PST 2016
Chris Bieneman <beanz at apple.com> writes:
> Unless I'm reading the code in the diff wrong (or misunderstanding something else), BAlloc, Saver, and Instances are namespace-level globals. That means they have global static initializers.
Yes, that is true. Only the specific ones are static locals. I agree
that changing them to be static locals would be a good thing.
Cheers,
Rafael
More information about the llvm-commits
mailing list