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

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Fri May 31 07:08:36 PDT 2024


yxsamliu 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

+1

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


More information about the cfe-commits mailing list