1# Test that we do something reasonable if a LINE record references a 2# non-existing FILE record. 3# Right now, "something reasonable" means creating a line entry with an empty 4# file. 5 6# RUN: yaml2obj %S/Inputs/basic-elf.yaml -o %T/line-table-missing-file.out 7# RUN: %lldb %T/line-table-missing-file.out \ 8# RUN: -o "target symbols add -s line-table-missing-file.out %S/Inputs/line-table-missing-file.syms" \ 9# RUN: -s %s -o exit | FileCheck %s 10 11image dump line-table a.c 12# CHECK-LABEL: Line table for /tmp/a.c 13# CHECK-NEXT: 0x00000000004000b0: /tmp/a.c:1 14# CHECK-NEXT: 0x00000000004000b1: /tmp/a.c:2 15# CHECK-NEXT: 0x00000000004000b2: :2 16# CHECK-NEXT: 0x00000000004000b3: 17# CHECK-EMPTY: 18