1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00

[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
This commit is contained in:
Krasimir Georgiev 2017-01-17 14:22:29 +00:00
parent e514a1b5af
commit 0f02f1cb88
5 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -9,7 +9,7 @@
## 0x65a3dbe7 is the value of PT_OPENBSD_WXNEEDED, ## 0x65a3dbe7 is the value of PT_OPENBSD_WXNEEDED,
## 0x65a41be6 is the value of PT_OPENBSD_BOOTDATA ## 0x65a41be6 is the value of PT_OPENBSD_BOOTDATA
## SECTIONS { . = SIZEOF_HEADERS; .all : { *(.*) } : text } ## 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 RUN: | FileCheck %s
CHECK: OPENBSD_RANDOMIZE off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3 CHECK: OPENBSD_RANDOMIZE off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3

View File

@ -11,7 +11,7 @@
## d: ## d:
## .long 2 ## .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 RUN: | FileCheck %s
CHECK: RELRO off 0x0000000000001000 vaddr 0x0000000000201000 paddr 0x0000000000201000 align 2**0 CHECK: RELRO off 0x0000000000001000 vaddr 0x0000000000201000 paddr 0x0000000000201000 align 2**0
@ -25,7 +25,7 @@ CHECK-NEXT: filesz 0x0000000000000004 memsz 0x0000000000001000 flags r--
## .section .note.test,"a",@note ## .section .note.test,"a",@note
## .quad 42 ## .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 RUN: | FileCheck %s --check-prefix=NOTE
NOTE: NOTE off 0x0000000000000200 vaddr 0x0000000000000200 paddr 0x0000000000000200 align 2**0 NOTE: NOTE off 0x0000000000000200 vaddr 0x0000000000000200 paddr 0x0000000000000200 align 2**0