mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
25d3a37aab
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
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
|