Skip to content

Commit df987d5

Browse files
committed
add comments to test case
1 parent b78a951 commit df987d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lld/test/ELF/aarch64-got-merging-icf.s

+3
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,20 @@ sym3:
3333

3434
.macro f, index
3535

36+
# (Kept unique) first instruction of the GOT code sequence
3637
.section .text.f1_\index,"ax",@progbits
3738
f1_\index:
3839
adrp x0, :got:g\index
3940
mov x1, #\index
4041
b f2_\index
4142

43+
# Folded, second instruction of the GOT code sequence
4244
.section .text.f2_\index,"ax",@progbits
4345
f2_\index:
4446
ldr x0, [x0, :got_lo12:g\index]
4547
b callee
4648

49+
# Folded
4750
.globl g\index
4851
.section .rodata.g\index,"a",@progbits
4952
g_\index:

0 commit comments

Comments
 (0)