mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-22 13:26:03 +00:00

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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365348 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
578 B
Plaintext
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
|