1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
llvm-mirror/test/Object/objdump-file-header.test
George Rimar 25d3a37aab [llvm\test\Object] - An initial step to cleanup the test cases.
This patch removes trivial-object-test.elf-i386,
trivial-object-test.elf-x86-64 and trivial-object-test2.elf-x86-64
precompiled objects from test/Object/Inputs folder.

I adjusted the existent test cases to use YAML instead.

Differential revision: https://reviews.llvm.org/D64206

llvm-svn: 365348
2019-07-08 16:53:39 +00:00

23 lines
578 B
Plaintext

# RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-objdump -f - | FileCheck %s -check-prefix COFF-i386
# COFF-i386: : file format COFF-i386
# COFF-i386: architecture: i386
# COFF-i386: start address: 0x00000000{{$}}
# RUN: yaml2obj %s > %t-i386
# RUN: llvm-objdump -f %t-i386 | FileCheck %s -check-prefix ELF-i386
# ELF-i386: : file format ELF32-i386
# ELF-i386: architecture: i386
# ELF-i386: start address: 0x00000000{{$}}
--- !ELF
FileHeader:
Class: ELFCLASS32
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_386
Symbols:
- Name: foo
Binding: STB_GLOBAL