mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01: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
20 lines
397 B
Plaintext
20 lines
397 B
Plaintext
## Test that llvm-nm returns an error because of the unknown file type, but
|
|
## keeps processing subsequent files.
|
|
|
|
# RUN: yaml2obj %s > %t-i386
|
|
# RUN: touch %t
|
|
# RUN: not llvm-nm %t-i386 %t %t-i386 | FileCheck %s
|
|
|
|
# CHECK: U foo
|
|
# CHECK: U foo
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS32
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Machine: EM_386
|
|
Symbols:
|
|
- Name: foo
|
|
Binding: STB_GLOBAL
|