Skip to content

Commit 960b80c

Browse files
committed
[ELF] Improve INPUT_SECTION_FLAGS test
1 parent 8b284dc commit 960b80c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lld/test/ELF/input-section-flags.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# RUN: .outsec3 : { INPUT_SECTION_FLAGS(SHF_WRITE) *(.sec.*) } \
1616
# RUN: .outsec4 : { INPUT_SECTION_FLAGS(SHF_MERGE & !SHF_STRINGS) *(.sec.*) } \
1717
# RUN: .outsec5 : { INPUT_SECTION_FLAGS(SHF_STRINGS) *(.sec.*) } \
18+
# RUN: .outsec6 : { INPUT_SECTION_FLAGS(!SHF_TLS & !SHF_EXCLUDE & !SHF_COMPRESSED & !SHF_ARM_PURECODE) *(.sec.*) } \
1819
# RUN: } " > %t.script
1920
# RUN: ld.lld -o %t1 --script %t.script %t.o
2021
# RUN: llvm-readobj --symbols %t1 | FileCheck %s

0 commit comments

Comments
 (0)