[clang] [llvm] [clang][CodeGen] Global constructors/destructors are globals (PR #93914)
Jessica Clarke via llvm-commits
llvm-commits at lists.llvm.org
Thu May 30 19:43:58 PDT 2024
jrtc27 wrote:
The third argument here is like for llvm.used, it's a way to associate the entry with a global or function. If the corresponding global or function is omitted from the output then the entry will be removed. It isn't used for anything at run time. So I think there should be a consistent story between llvm.used and llvm.global_[cd]tors.
https://github.com/llvm/llvm-project/pull/93914
More information about the llvm-commits
mailing list