Skip to content

Commit 4311d05

Browse files
Add test to check that llvm-strip does not remove the .gnu_debuglink
section
1 parent eb76f51 commit 4311d05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/test/tools/llvm-objcopy/ELF/strip-all.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,11 @@ ProgramHeaders:
7676
FirstSec: non_alloc_in_segment
7777
LastSec: non_alloc_in_segment
7878

79-
# CHECK: SectionHeaderCount: 6
79+
# CHECK: SectionHeaderCount: 7
8080

8181
# CHECK: Name: non_alloc_in_segment
8282
# CHECK: Name: .bss
8383
# CHECK: Name: .text
8484
# CHECK: Name: .gnu.warning.foo
85+
# CHECK: Name: .gnu_debuglink
8586
# CHECK: Name: .shstrtab

0 commit comments

Comments
 (0)