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

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri May 31 06:41:08 PDT 2024


arsenm wrote:

> Perhaps an alternative is to tweak LangRef wording to say that that these are always emitted as unqualified ptrs, and that their ephemeral nature implies that their AS is meaningless?

I think this is the correct way to handle it. Also we'll need a few stripPointerCasts added somewhere 




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


More information about the cfe-commits mailing list