[clang] [llvm] [clang][CodeGen] `used` globals && the payloads for global ctors & dtors are globals (PR #93601)
Alexander Richardson via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 5 10:59:31 PDT 2024
================
@@ -2922,18 +2922,21 @@ static void emitUsed(CodeGenModule &CGM, StringRef Name,
if (List.empty())
return;
+ // We unconditionally use unqualified pointers - this is intentional as these
----------------
arichardson wrote:
```suggestion
// We unconditionally use AS0 pointers - this is intentional as these
```
Since this refers to LLVM and not Clang pointer types I'd use the address space terminology.
https://github.com/llvm/llvm-project/pull/93601
More information about the cfe-commits
mailing list