Skip to content

Commit b8c9293

Browse files
[Memprof] Fix linkage number for memprof test. (#97119)
Update function name in `memprof_internal_linkage.ll` test. Needs to be updated every time we regenerate the binary.
1 parent 6644975 commit b8c9293

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ entry:
2828
store i32 0, ptr %retval, align 4
2929
store i32 %argc, ptr %argc.addr, align 4
3030
store ptr %argv, ptr %argv.addr, align 8
31-
call void @_ZL3foov.__uniq.50354172613129440706982166615384819716() #4, !dbg !14
31+
call void @_ZL3foov.__uniq.246575255519150625886541854978321354160() #4, !dbg !14
3232
ret i32 0, !dbg !15
3333
}
3434

3535
; Function Attrs: mustprogress noinline optnone uwtable
36-
define internal void @_ZL3foov.__uniq.50354172613129440706982166615384819716() #1 !dbg !16 {
36+
define internal void @_ZL3foov.__uniq.246575255519150625886541854978321354160() #1 !dbg !16 {
3737
entry:
3838
%a = alloca ptr, align 8
3939
%call = call noalias noundef nonnull ptr @_Znam(i64 noundef 20) #5, !dbg !17
@@ -76,7 +76,7 @@ attributes #5 = { builtin allocsize(0) }
7676
!13 = !{}
7777
!14 = !DILocation(line: 8, column: 3, scope: !10)
7878
!15 = !DILocation(line: 9, column: 3, scope: !10)
79-
!16 = distinct !DISubprogram(name: "foo", linkageName: "_ZL3foov.__uniq.50354172613129440706982166615384819716", scope: !11, file: !11, line: 3, type: !12, scopeLine: 3, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !0)
79+
!16 = distinct !DISubprogram(name: "foo", linkageName: "_ZL3foov.__uniq.246575255519150625886541854978321354160", scope: !11, file: !11, line: 3, type: !12, scopeLine: 3, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !0)
8080
!17 = !DILocation(line: 4, column: 12, scope: !16)
8181
!18 = !DILocation(line: 4, column: 8, scope: !16)
8282
!19 = !DILocation(line: 5, column: 10, scope: !16)

0 commit comments

Comments
 (0)