mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-11 07:18:44 +00:00
[llvm-objcopy] Update remove-section.test
Verify that the input binary is not getting modified and add an invocation which uses -remove-section instead of -R. Test plan: make check-all llvm-svn: 332078
This commit is contained in:
parent
c57bdbb244
commit
22e394ed73
@ -1,7 +1,16 @@
|
||||
# RUN: yaml2obj %s > %t
|
||||
# RUN: cp %t %t1
|
||||
|
||||
# RUN: llvm-objcopy -R .test2 %t %t2
|
||||
# RUN: llvm-readobj -file-headers -sections %t2 | FileCheck %s
|
||||
|
||||
# Verify that the first run of llvm-objcopy
|
||||
# has not modified the input binary.
|
||||
# RUN: cmp %t %t1
|
||||
|
||||
# RUN: llvm-objcopy -remove-section=.test2 %t1 %t3
|
||||
# RUN: cmp %t2 %t3
|
||||
|
||||
!ELF
|
||||
FileHeader:
|
||||
Class: ELFCLASS64
|
||||
|
Loading…
x
Reference in New Issue
Block a user