mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 12:02:58 +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:
parent
e514a1b5af
commit
0f02f1cb88
BIN
test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64
Normal file
BIN
test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64
Normal file
Binary file not shown.
BIN
test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64
Normal file
BIN
test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64
Normal file
Binary file not shown.
BIN
test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64
Normal file
BIN
test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64
Normal file
Binary file not shown.
@ -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
|
||||
|
@ -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 0x0000000000000004 memsz 0x0000000000001000 flags r--
|
||||
## .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
|
||||
|
Loading…
Reference in New Issue
Block a user