1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

[llvm-objcopy] Run not with any python, but the python configured in lit.

llvm-svn: 337262
This commit is contained in:
Benjamin Kramer 2018-07-17 10:30:56 +00:00
parent 48bd15f31f
commit 3f6ec4863c
4 changed files with 4 additions and 4 deletions

View File

@ -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-readobj -sections %t2 | FileCheck --check-prefix=SECS %s

View File

@ -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-readobj -file-headers %t2 | FileCheck --check-prefix=EHDR %s
RUN: llvm-readobj -sections %t2 | FileCheck --check-prefix=SECS %s

View File

@ -1,6 +1,6 @@
# This test checks to see that a .symtab_shndx section is added to any binary
# 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-readobj -sections %t2 | FileCheck %s

View File

@ -1,7 +1,7 @@
# 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.
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: 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