diff options
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/ELF/strip-all.test')
| -rw-r--r-- | llvm/test/tools/llvm-objcopy/ELF/strip-all.test | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/strip-all.test b/llvm/test/tools/llvm-objcopy/ELF/strip-all.test index 87388e09747..32a801d7a6c 100644 --- a/llvm/test/tools/llvm-objcopy/ELF/strip-all.test +++ b/llvm/test/tools/llvm-objcopy/ELF/strip-all.test @@ -57,6 +57,10 @@ FileHeader: Type: ET_REL Machine: EM_X86_64 Sections: + - Name: non_alloc_in_segment + Type: SHT_PROGBITS + Flags: [ ] + Size: 4 - Name: .bss Type: SHT_NOBITS Flags: [ SHF_ALLOC ] @@ -68,9 +72,15 @@ Sections: Flags: [ ] - Name: .gnu.warning.foo Type: SHT_PROGBITS +ProgramHeaders: + # Use an arbitrary segment type to show that the segment type is unimportant. + - Type: 0x61234567 + Sections: + - Section: non_alloc_in_segment -# CHECK: SectionHeaderCount: 5 +# CHECK: SectionHeaderCount: 6 +# CHECK: Name: non_alloc_in_segment # CHECK: Name: .bss # CHECK: Name: .text # CHECK: Name: .gnu.warning.foo |

