Skip to content

Commit 05fc29f

Browse files
Separate frozen object owning type from allocation site
Fixes #129074. Type names ending with numbers could clash with the callsite ID.
1 parent d56ee0b commit 05fc29f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/SerializedFrozenObjectNode.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public override void AppendMangledName(NameMangler nameMangler, Utf8StringBuilde
3434
{
3535
sb.Append(nameMangler.CompilationUnitPrefix).Append("__FrozenObj_"u8)
3636
.Append(nameMangler.GetMangledTypeName(_owningType))
37+
.Append('_')
3738
.Append(_allocationSiteId.ToStringInvariant());
3839
}
3940

0 commit comments

Comments
 (0)