summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/SymbolFile/Breakpad/line-table-discontinuous-file-ids.test
blob: 3b48f4f3c5a517abe0d93557aac5d7a89600b709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Test that we handle files which has gaps in the FILE record IDs.

# RUN: yaml2obj %S/Inputs/basic-elf.yaml > %T/line-table-discontinuous-file-ids.out
# RUN: %lldb %T/line-table-discontinuous-file-ids.out \
# RUN:   -o "target symbols add -s line-table-discontinuous-file-ids.out %S/Inputs/line-table-discontinuous-file-ids.syms" \
# RUN:   -s %s -o exit | FileCheck %s

image dump line-table a.c
# CHECK-LABEL: Line table for /tmp/a.c
# CHECK-NEXT: 0x00000000004000b0: /tmp/a.c:1
# CHECK-NEXT: 0x00000000004000b1: /tmp/a.c:2
# CHECK-NEXT: 0x00000000004000b2: /tmp/c.c:2
# CHECK-NEXT: 0x00000000004000b3: 
OpenPOWER on IntegriCloud