[clang] [llvm] [clang][CodeGen] Global constructors/destructors are globals (PR #93914)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Thu May 30 19:14:04 PDT 2024


yxsamliu wrote:

llvm datalayout defines 

P - program addr space for functions
G - global addr space for global variables

https://llvm.org/docs/LangRef.html#langref-datalayout

should we use P for llvm.global_ctors instead of G?

https://github.com/llvm/llvm-project/pull/93914


More information about the cfe-commits mailing list