1 # RUN: yaml2obj %S/Inputs/inlined-file0-line0-col0.yaml -o %t
2 # RUN: %lldb %t -s %s -o exit | FileCheck %s
5 # 2 int g1 = 4, g2 = 6;
7 # 4 inline __attribute__((always_inline)) void bar(int q) {
12 # 9 inline __attribute__((always_inline)) void foo(int q) {
22 # The input object file contains a single abort invocation for the two inlined
23 # instances of foo() in main() at line 0. As the file, line and column numbers
24 # are all 0, file and line number information would be missing for foo and main
25 # in the lookup information.
27 # A line number 0 is not printed for main in this case, but the same holds
28 # for a non-inlined location with line number 0.
30 # CHECK: Summary: inlined-file0-line0-col0.test.tmp`main + 30 [inlined] bar + 4 at inlined-file0-line0-col0.c:6:5
31 # CHECK-NEXT: inlined-file0-line0-col0.test.tmp`main + 26 [inlined] foo at inlined-file0-line0-col0.c:10:3
32 # CHECK-NEXT: inlined-file0-line0-col0.test.tmp`main + 26 at inlined-file0-line0-col0.c