Skip to content

Commit 19bf06e

Browse files
MaskRayjustinfargnoli
authored andcommitted
[ELF,test] Set alignment of SHT_GROUP to 4
Fixes: 0930f62 This makes the test more conforming and fixes a -fsanitize=alignment failure in finalizeShtGroup.
1 parent 5d57d48 commit 19bf06e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lld/test/ELF/linkorder-group.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Sections:
3131
Type: SHT_GROUP
3232
Link: .symtab
3333
Info: foo
34+
AddressAlign: 4
3435
Members:
3536
- SectionOrType: GRP_COMDAT
3637
- SectionOrType: .bss

0 commit comments

Comments
 (0)