[PATCH] D107087: Fix SectionMemoryManager deconstruction error with MSVC
Lang Hames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 30 17:18:34 PDT 2021
lhames added a comment.
Hi Justice!
Thanks very much for identifying the problem here.
I think it feels odd to make DefaultMMapper a member of SectionMemoryManager. Does it fix your issue if you wrap the static global in a `ManagedStatic` instead? (see https://llvm.org/docs/ProgrammersManual.html#lazy-initialization-with-managedstatic).
- Lang.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107087/new/
https://reviews.llvm.org/D107087
More information about the llvm-commits
mailing list