1REQUIRES: x86-registered-target 2RUN: split-file %s %t 3RUN: mkdir -p %t/.build-id/ab 4RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t/asm.s \ 5RUN: -o %t/.build-id/ab/cdef.debug 6RUN: llvm-symbolizer --debug-file-directory=%t --filter-markup < %t/input \ 7RUN: > %t.output 2> %t.err 8RUN: FileCheck %s --input-file=%t.output --match-full-lines \ 9RUN: --implicit-check-not {{.}} 10RUN: FileCheck %s --check-prefix=ERR --input-file=%t.err --match-full-lines 11 12CHECK: [[BEGIN:\[{3}]]ELF module #0x0 "a.o"; BuildID=abcdef [0x0-0x4](r),[0x10-0x11](r)[[END:\]{3}]] 13CHECK: long long byte 14CHECK: long byte 15CHECK: [[BEGIN]]data:0x5[[END]] 16 17ERR: error: expected 1 field(s); found 0 18ERR: error: no mmap covers address 19 20;--- input 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}}} 26 27{{{data}}} 28{{{data:0x5}}} 29;--- asm.s 30long: 31 .long 0x11223344 32 .size long, 4 33byte: 34 .byte 0x42 35 .size byte, 1 36