forked from OSchip/llvm-project
[llvm-objcopy] %python wants to be in quotes, because it might contain spaces
llvm-svn: 337399
This commit is contained in:
parent
e24fcd5382
commit
99ea38f42d
|
@ -1,4 +1,4 @@
|
||||||
# RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
|
# RUN: '%python' %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
|
||||||
# RUN: llvm-objcopy -R .text -R s0 -R s1 -R s2 -R s3 -R s4 -R s5 -R s6 %t %t2
|
# RUN: llvm-objcopy -R .text -R s0 -R s1 -R s2 -R s3 -R s4 -R s5 -R s6 %t %t2
|
||||||
# RUN: llvm-readobj -sections %t2 | FileCheck --check-prefix=SECS %s
|
# RUN: llvm-readobj -sections %t2 | FileCheck --check-prefix=SECS %s
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
|
RUN: '%python' %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
|
||||||
RUN: llvm-objcopy %t %t2
|
RUN: llvm-objcopy %t %t2
|
||||||
RUN: llvm-readobj -file-headers %t2 | FileCheck --check-prefix=EHDR %s
|
RUN: llvm-readobj -file-headers %t2 | FileCheck --check-prefix=EHDR %s
|
||||||
RUN: llvm-readobj -sections %t2 | FileCheck --check-prefix=SECS %s
|
RUN: llvm-readobj -sections %t2 | FileCheck --check-prefix=SECS %s
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# This test checks to see that a .symtab_shndx section is added to any binary
|
# This test checks to see that a .symtab_shndx section is added to any binary
|
||||||
# that needs it, even if the original was removed.
|
# that needs it, even if the original was removed.
|
||||||
RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
|
RUN: '%python' %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
|
||||||
RUN: llvm-objcopy -R .symtab_shndx %t %t2
|
RUN: llvm-objcopy -R .symtab_shndx %t %t2
|
||||||
RUN: llvm-readobj -sections %t2 | FileCheck %s
|
RUN: llvm-readobj -sections %t2 | FileCheck %s
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# This test makes sure that sections added at the end that don't have symbols
|
# This test makes sure that sections added at the end that don't have symbols
|
||||||
# defined in them don't trigger the creation of a large index table.
|
# defined in them don't trigger the creation of a large index table.
|
||||||
|
|
||||||
RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t.0
|
RUN: '%python' %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t.0
|
||||||
RUN: cat %p/Inputs/alloc-symtab.o > %t
|
RUN: cat %p/Inputs/alloc-symtab.o > %t
|
||||||
RUN: llvm-objcopy -R .text -R s0 -R s1 -R s2 -R s3 -R s4 -R s5 -R s6 %t.0 %t2
|
RUN: llvm-objcopy -R .text -R s0 -R s1 -R s2 -R s3 -R s4 -R s5 -R s6 %t.0 %t2
|
||||||
RUN: llvm-objcopy -add-section=.s0=%t -add-section=.s1=%t -add-section=.s2=%t %t2 %t2
|
RUN: llvm-objcopy -add-section=.s0=%t -add-section=.s1=%t -add-section=.s2=%t %t2 %t2
|
||||||
|
|
Loading…
Reference in New Issue