[PATCH] D105959: Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer

Uday Bondhugula via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 19:12:05 PDT 2021


bondhugula added a comment.

This is a really welcome change! Multiple registration issues were really an inconvenience - I had no clue this was the pattern to use to fix it. Thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105959/new/

https://reviews.llvm.org/D105959



More information about the llvm-commits mailing list