[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / llvm-nm / X86 / portability.test
blobca8c4781f0b8e00b6be45d3409622fd919694092
1 # RUN: yaml2obj %s > %t.o
2 # RUN: llvm-nm %t.o --portability | FileCheck %s --strict-whitespace --match-full-lines
3 # RUN: llvm-nm %t.o -P | FileCheck %s --strict-whitespace --match-full-lines
5 !ELF
6 FileHeader:
7   Class:   ELFCLASS64
8   Data:    ELFDATA2LSB
9   Type:    ET_REL
10   Machine: EM_X86_64
11 Sections:
12   - Name: .text
13     Type: SHT_PROGBITS
14 Symbols:
15   - Name:    symbol_a
16     Section: .text
17     Size:    16
18     Value:   0xff
19   - Name:    symbol_wider_name
20     Section: .text
21     Size:    256
22     Value:   0xffeedd
24 # CHECK:symbol_a n ff 10
25 # CHECK-NEXT:symbol_wider_name n ffeedd 100