• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: llvm-opt-report -r %p %p/Inputs/dm.yaml | FileCheck -strict-whitespace %s
2
3; CHECK: < {{.*[/\]}}dm.c
4; CHECK-NEXT:  1   | void bar(void);
5; CHECK-NEXT:  2   | void foo(int n) {
6; CHECK-NEXT:  3   |   if (n) { bar(); } else { while (1) {} }
7; CHECK-NEXT:  4   | }
8; CHECK-NEXT:  5   |
9; CHECK-NEXT:  6   | void quack(void) {
10; CHECK-NEXT:  7 I |   foo(0);
11; CHECK-NEXT:  8   | }
12; CHECK-NEXT:  9   |
13; CHECK-NEXT: 10   | void quack2(void) {
14; CHECK-NEXT: 11 I |   foo(4);
15; CHECK-NEXT: 12   | }
16; CHECK-NEXT: 13   |
17
18