Skip to content

Commit 0ab5d8b

Browse files
committed
[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 a50ea2f commit 0ab5d8b

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)