1 // RUN: %clang -target x86_64-apple-darwin10 --analyze %s -o /dev/null -Xclang -analyzer-checker=debug.ConfigDumper -Xclang -analyzer-max-loop -Xclang 34 > %t 2>&1
2 // RUN: FileCheck --input-file=%t %s
3
bar()4 void bar() {}
foo()5 void foo() {
6 // Call bar 33 times so max-times-inline-large is met and
7 // min-blocks-for-inline-large is checked
8 for (int i = 0; i < 34; ++i) {
9 bar();
10 }
11 }
12
13 // CHECK: [config]
14 // CHECK-NEXT: cfg-conditional-static-initializers = true
15 // CHECK-NEXT: cfg-temporary-dtors = false
16 // CHECK-NEXT: faux-bodies = true
17 // CHECK-NEXT: graph-trim-interval = 1000
18 // CHECK-NEXT: inline-lambdas = true
19 // CHECK-NEXT: ipa = dynamic-bifurcate
20 // CHECK-NEXT: ipa-always-inline-size = 3
21 // CHECK-NEXT: leak-diagnostics-reference-allocation = false
22 // CHECK-NEXT: max-inlinable-size = 50
23 // CHECK-NEXT: max-nodes = 150000
24 // CHECK-NEXT: max-times-inline-large = 32
25 // CHECK-NEXT: min-cfg-size-treat-functions-as-large = 14
26 // CHECK-NEXT: mode = deep
27 // CHECK-NEXT: region-store-small-struct-limit = 2
28 // CHECK-NEXT: widen-loops = false
29 // CHECK-NEXT: [stats]
30 // CHECK-NEXT: num-entries = 15
31
32