[llvm-objdump tests] Copy the inputs of tests closer to tests.
Summary:
Tests under tools/llvm-objdump should not use inputs from Object. Copied the
required inputs and aligned the new tests to be more consistent with the existing
tests in this respect.
Reviewers: ioeric
Reviewed By: ioeric
Subscribers: davide, djasper, cfe-commits
Differential Revision: https://reviews.llvm.org/D28799
llvm-svn: 292222
diff --git a/llvm/test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64 b/llvm/test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64
new file mode 100644
index 0000000..dab75bf
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64
Binary files differ
diff --git a/llvm/test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64 b/llvm/test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64
new file mode 100644
index 0000000..2825c68
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64
Binary files differ
diff --git a/llvm/test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64 b/llvm/test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64
new file mode 100644
index 0000000..078574a
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64
Binary files differ
diff --git a/llvm/test/tools/llvm-objdump/X86/openbsd-headers.test b/llvm/test/tools/llvm-objdump/X86/openbsd-headers.test
index 48f496c..fb6072e 100644
--- a/llvm/test/tools/llvm-objdump/X86/openbsd-headers.test
+++ b/llvm/test/tools/llvm-objdump/X86/openbsd-headers.test
@@ -9,7 +9,7 @@
## 0x65a3dbe7 is the value of PT_OPENBSD_WXNEEDED,
## 0x65a41be6 is the value of PT_OPENBSD_BOOTDATA
## SECTIONS { . = SIZEOF_HEADERS; .all : { *(.*) } : text }
-RUN: llvm-objdump -p %p/../../../Object/Inputs/openbsd-phdrs.elf-x86-64 \
+RUN: llvm-objdump -p %p/Inputs/openbsd-phdrs.elf-x86-64 \
RUN: | FileCheck %s
CHECK: OPENBSD_RANDOMIZE off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3
diff --git a/llvm/test/tools/llvm-objdump/X86/phdrs.test b/llvm/test/tools/llvm-objdump/X86/phdrs.test
index 646f6af..63b8fde 100644
--- a/llvm/test/tools/llvm-objdump/X86/phdrs.test
+++ b/llvm/test/tools/llvm-objdump/X86/phdrs.test
@@ -11,7 +11,7 @@
## d:
## .long 2
##
-RUN: llvm-objdump -p %p/../../../Object/Inputs/phdrs.elf-x86-64 \
+RUN: llvm-objdump -p %p/Inputs/phdrs.elf-x86-64 \
RUN: | FileCheck %s
CHECK: RELRO off 0x0000000000001000 vaddr 0x0000000000201000 paddr 0x0000000000201000 align 2**0
@@ -25,7 +25,7 @@
## .section .note.test,"a",@note
## .quad 42
-RUN: llvm-objdump -p %p/../../../Object/Inputs/phdr-note.elf-x86-64 \
+RUN: llvm-objdump -p %p/Inputs/phdr-note.elf-x86-64 \
RUN: | FileCheck %s --check-prefix=NOTE
NOTE: NOTE off 0x0000000000000200 vaddr 0x0000000000000200 paddr 0x0000000000000200 align 2**0