[PATCH] D143086: [llvm-objcopy] Fix strip-all-gnu test
Anton Sidorenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 3 02:09:28 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG137078de1358: [llvm-objcopy] Fix strip-all-gnu test (authored by asi-sc).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143086/new/
https://reviews.llvm.org/D143086
Files:
llvm/test/tools/llvm-objcopy/ELF/strip-all-gnu.test
Index: llvm/test/tools/llvm-objcopy/ELF/strip-all-gnu.test
===================================================================
--- llvm/test/tools/llvm-objcopy/ELF/strip-all-gnu.test
+++ llvm/test/tools/llvm-objcopy/ELF/strip-all-gnu.test
@@ -1,6 +1,6 @@
# RUN: yaml2obj %s -o %t
-# RUN: llvm-objcopy --strip-all-gnu %t %t2
-# RUN: llvm-strip --strip-all-gnu %t -o %t3
+# RUN: llvm-objcopy --strip-all-gnu --allow-broken-links %t %t2
+# RUN: llvm-strip --strip-all-gnu --allow-broken-links %t -o %t3
# RUN: llvm-readobj --file-headers --sections %t2 | FileCheck %s
# RUN: cmp %t2 %t3
@@ -24,10 +24,9 @@
- Name: .dynstr
Type: SHT_STRTAB
Flags: [ SHF_ALLOC ]
- - Name: .symtab.dyn
+ - Name: .symtab
Type: SHT_SYMTAB
Flags: [ SHF_ALLOC ]
- Type: SHT_NOBITS
- Name: .text
Type: SHT_PROGBITS
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
@@ -63,7 +62,7 @@
# CHECK: SectionHeaderCount: 8
# CHECK: Name: .dynstr
-# CHECK: Name: .symtab.dyn
+# CHECK: Name: .symtab
# CHECK: Name: .text
# CHECK: Name: .debug_loc
# CHECK: Name: .comment
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143086.494555.patch
Type: text/x-patch
Size: 1219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230203/9d344724/attachment.bin>
More information about the llvm-commits
mailing list