[PATCH] D104551: Delay initialization of OptBisect

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 21 17:42:28 PDT 2021


dblaikie added a comment.

What situation are you dealing with where OptBisect is created during global constructors? OptBisect uses ManagedStatic which only creates the object on first access, right? So maybe it'd be suitable to change the code so it doesn't try to access OptBisect during global construction?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104551



More information about the llvm-commits mailing list