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:
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)
30 # CHECK: Address: {{.*}}baz() + 4 at test.cc:2:1