[llvm] r292222 - [llvm-objdump tests] Copy the inputs of tests closer to tests.
Krasimir Georgiev via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 06:22:29 PST 2017
Author: krasimir
Date: Tue Jan 17 08:22:29 2017
New Revision: 292222
URL: http://llvm.org/viewvc/llvm-project?rev=292222&view=rev
Log:
[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
Added:
llvm/trunk/test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64
llvm/trunk/test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64
llvm/trunk/test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64
Modified:
llvm/trunk/test/tools/llvm-objdump/X86/openbsd-headers.test
llvm/trunk/test/tools/llvm-objdump/X86/phdrs.test
Added: llvm/trunk/test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64?rev=292222&view=auto
==============================================================================
Binary files llvm/trunk/test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64 (added) and llvm/trunk/test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64 Tue Jan 17 08:22:29 2017 differ
Added: llvm/trunk/test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64?rev=292222&view=auto
==============================================================================
Binary files llvm/trunk/test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64 (added) and llvm/trunk/test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64 Tue Jan 17 08:22:29 2017 differ
Added: llvm/trunk/test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64?rev=292222&view=auto
==============================================================================
Binary files llvm/trunk/test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64 (added) and llvm/trunk/test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64 Tue Jan 17 08:22:29 2017 differ
Modified: llvm/trunk/test/tools/llvm-objdump/X86/openbsd-headers.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/openbsd-headers.test?rev=292222&r1=292221&r2=292222&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/X86/openbsd-headers.test (original)
+++ llvm/trunk/test/tools/llvm-objdump/X86/openbsd-headers.test Tue Jan 17 08:22:29 2017
@@ -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
Modified: llvm/trunk/test/tools/llvm-objdump/X86/phdrs.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/phdrs.test?rev=292222&r1=292221&r2=292222&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/X86/phdrs.test (original)
+++ llvm/trunk/test/tools/llvm-objdump/X86/phdrs.test Tue Jan 17 08:22:29 2017
@@ -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 @@ CHECK-NEXT: filesz 0x00000000000000
## .section .note.test,"a", at 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
More information about the llvm-commits
mailing list