[PATCH] D105959: Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer
Jessica Clarke via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 16 12:02:53 PDT 2021
jrtc27 added a comment.
It's just a standard linker set; the static linker combines all the input sections containing the array elements into a single output section. It's similar to init_array etc, just without the special meaning (i.e. you have to write the code to iterate over the array and do what you want).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105959/new/
https://reviews.llvm.org/D105959
More information about the cfe-commits
mailing list