[llvm] [LLVM] Create `lf_alias` nodes for `typedef` and `using` (PR #153936)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 08:13:05 PDT 2025


================
@@ -1728,14 +1728,17 @@ TypeIndex CodeViewDebug::lowerTypeAlias(const DIDerivedType *Ty) {
 
   addToUDTs(Ty);
 
+  AliasRecord AR(UnderlyingTypeIndex, TypeName);
+  auto alias_index = TypeTable.writeLeafType(AR);
----------------
aganea wrote:

Change to `AliasIndex`.

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


More information about the llvm-commits mailing list