brintos

brintos / llvm-project-archived public Read only

0
0
Text · 723 B · e9e1ef4 Raw
19 lines · plain
1# Test that we do something reasonable if a LINE record references a2# non-existing FILE record.3# Right now, "something reasonable" means creating a line entry with an empty4# file.5 6# RUN: mkdir -p %t.dir7# RUN: yaml2obj %S/Inputs/basic-elf.yaml -o %t.dir/line-table-missing-file.out8# RUN: %lldb %t.dir/line-table-missing-file.out \9# RUN:   -o "target symbols add -s line-table-missing-file.out %S/Inputs/line-table-missing-file.syms" \10# RUN:   -s %s -o exit | FileCheck %s11 12image dump line-table a.c13# CHECK-LABEL: Line table for /tmp/a.c14# CHECK-NEXT: 0x00000000004000b0: /tmp/a.c:115# CHECK-NEXT: 0x00000000004000b1: /tmp/a.c:216# CHECK-NEXT: 0x00000000004000b2: :217# CHECK-NEXT: 0x00000000004000b3: 18# CHECK-EMPTY: 19