Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-symbolizer / basic.s
blob1a28f14f3eb4a69c3d1a1dd6d60bb6ce37925b7f
1 # REQUIRES: x86-registered-target
3 foo:
4 .space 10
5 nop
6 nop
8 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o -g
10 # Check input addresses specified on stdin.
11 # RUN: echo -e "0xa\n0xb" | llvm-symbolizer --obj=%t.o | FileCheck %s
12 # RUN: echo -e "10\n11" | llvm-symbolizer --obj=%t.o | FileCheck %s
14 # Check input addresses specified on the command-line.
15 # RUN: llvm-symbolizer 0xa 0xb --obj=%t.o | FileCheck %s
16 # RUN: llvm-symbolizer 10 11 --obj=%t.o | FileCheck %s
18 # Check --obj aliases --exe, -e
19 # RUN: llvm-symbolizer 0xa 0xb --exe=%t.o | FileCheck %s
20 # RUN: llvm-symbolizer 0xa 0xb --exe %t.o | FileCheck %s
21 # RUN: llvm-symbolizer 0xa 0xb -e %t.o | FileCheck %s
22 # RUN: llvm-symbolizer 0xa 0xb -e=%t.o | FileCheck %s
23 # RUN: llvm-symbolizer 0xa 0xb -e%t.o | FileCheck %s
25 # CHECK: basic.s:5:0
26 # CHECK: basic.s:6:0