[PATCH] D21471: [MCContext] Don't use getenv inside class constructor

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 09:58:08 PDT 2016


On 17 June 2016 at 12:26, Jim Grosbach <grosbach at apple.com> wrote:
> grosbach added a subscriber: grosbach.
> grosbach added a comment.
>
> How is calling getenv() in a global static initializer any better? Seems a step backwards.

BTW, are you guys still using this feature?

It is very odd to say the least :-)

Cheers,
Rafael


More information about the llvm-commits mailing list