1 REQUIRES: x86-registered-target
3 RUN: mkdir -p %t/.build-id/ab
4 RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t/asm.s \
5 RUN: -o %t/.build-id/ab/cdef.debug
6 RUN: llvm-symbolizer --debug-file-directory=%t --filter-markup < %t/input \
7 RUN: > %t.output 2> %t.err
8 RUN: FileCheck %s --input-file=%t.output --match-full-lines \
9 RUN: --implicit-check-not {{.}}
10 RUN: FileCheck %s --check-prefix=ERR --input-file=%t.err --match-full-lines
12 CHECK: [[BEGIN:\[{3}]]ELF module #0x0 "a.o"; BuildID=abcdef [0x0-0x4](r),[0x10-0x11](r)[[END:\]{3}]]
15 CHECK: [[BEGIN]]data:0x5[[END]]
17 ERR: error: expected 1 field(s); found 0
18 ERR: error: no mmap covers address
21 {{{module:0:a.o:elf:abcdef}}}
22 {{{mmap:0:5:load:0:r:0}}}
23 {{{mmap:0x10:2:load:0:r:0x3}}}
24 {{{data:0x0}}} {{{data:0x1}}} {{{data:0x4}}}
25 {{{data:0x10}}} {{{data:0x11}}}