You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
398 B
20 lines
398 B
## Test that llvm-nm returns an error because of the unknown file type, but
|
|
## keeps processing subsequent files.
|
|
|
|
# RUN: yaml2obj %s -o %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
|