[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git] / test / tools / llvm-symbolizer / basic.s
blobb9d5c814024fb5fb120b032cd2c3dc4bfd06de87
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 -e %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
24 # CHECK: basic.s:5:0
25 # CHECK: basic.s:6:0