diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-10-09 17:35:43 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-10-09 17:35:43 +0000 |
commit | 0115c10328281567391855766fef8fbe57a1d4cc (patch) | |
tree | f5c3232c37e50caaf5a2043e22fcebccee668bdd /lldb/lit/SymbolFile/Breakpad/line-table-discontinuous-file-ids.test | |
parent | 44e988ab14cb387eddfeacd1493792a6aa6aee81 (diff) | |
download | bcm5719-llvm-0115c10328281567391855766fef8fbe57a1d4cc.tar.gz bcm5719-llvm-0115c10328281567391855766fef8fbe57a1d4cc.zip |
Revert [test] Split LLDB tests into API, Shell & Unit
as it appears to have broken check-lldb.
This reverts r374184 (git commit 22314179f0660c172514b397060fd8f34b586e82)
llvm-svn: 374187
Diffstat (limited to 'lldb/lit/SymbolFile/Breakpad/line-table-discontinuous-file-ids.test')
-rw-r--r-- | lldb/lit/SymbolFile/Breakpad/line-table-discontinuous-file-ids.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lldb/lit/SymbolFile/Breakpad/line-table-discontinuous-file-ids.test b/lldb/lit/SymbolFile/Breakpad/line-table-discontinuous-file-ids.test new file mode 100644 index 00000000000..3b48f4f3c5a --- /dev/null +++ b/lldb/lit/SymbolFile/Breakpad/line-table-discontinuous-file-ids.test @@ -0,0 +1,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: |