Skip to content

Commit 16b29f5

Browse files
committed
fixup: add a test with "AddressAlign: 0"
1 parent cfc807d commit 16b29f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/test/tools/yaml2obj/ELF/note-section.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,10 @@ Sections:
471471
## field even if "ShAddrAlign" is also specified; an unexpected value in the
472472
## "ShAddrAlign" property does not trigger an incorrect alignment error.
473473

474+
# RUN: yaml2obj --docnum=18 -D ADDRALIGN=0 -D SHADDRALIGN=8 %s -o - | \
475+
# RUN: llvm-readobj --sections --section-data --notes - | \
476+
# RUN: FileCheck %s --check-prefixes=TEST18,TEST18_4
477+
474478
# RUN: yaml2obj --docnum=18 -D ADDRALIGN=4 -D SHADDRALIGN=3 %s -o - | \
475479
# RUN: llvm-readobj --sections --section-data --notes - | \
476480
# RUN: FileCheck %s --check-prefixes=TEST18,TEST18_4

0 commit comments

Comments
 (0)