Bump version to 19.1.0 (final)
[llvm-project.git] / lldb / test / Shell / Breakpoint / split-dwarf-5-addrbase.test
blobf3b9653497af6a82cb91f39022a2b35ae0f944b7
1 # RUN: rm -rf %t.dir
2 # RUN: mkdir %t.dir
3 # RUN: cd %t.dir
4 # RUN: yaml2obj %p/Inputs/split-dwarf-5-addrbase.dwo.yaml -o %t.dir/test.dwo
5 # RUN: yaml2obj %p/Inputs/split-dwarf-5-addrbase.yaml -o %t.dir/test
6 # RUN: lldb-test breakpoints %t.dir/test %s | FileCheck %s
8 # This test checks that source code location is shown correctly
9 # when -gsplit-dwarf and DWARF 5 are used.
11 # split-dwarf-5-addrbase.dwo.yaml and split-dwarf-5-addrbase.yamlare
12 # reduced yaml files produces from the dwo file and the corresponding executable.
14 # The following code was used initially:
15 # void baz() {
16 # }
17
18 # int main() {
19 #   baz();
20 #   return 0;
21 # }
23 # Invocation used to produce outputs was:
24 # clang test.cc -g -fno-rtti -c -gdwarf-5 -gsplit-dwarf
25 # clang test.o -g -fno-rtti -gdwarf-5 -o test -gsplit-dwarf
26 # clang version 8.0.0 (trunk 347299)
28 b baz
29 # CHECK-LABEL: b baz
30 # CHECK: Address: {{.*}}baz() + 4 at test.cc:2:1