diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-10-23 23:59:05 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-10-23 23:59:05 +0000 |
commit | 746c06d0bc578c1fb66e31b55ffec75ff8fe021b (patch) | |
tree | 367f893b3f76c3b0b3a00f0ee2eb9f190adb95c1 /clang/test/Analysis/analyzer-config.cpp | |
parent | a96da4773cb9d5867a2e59a7f3a67d24b9dd8447 (diff) | |
download | bcm5719-llvm-746c06d0bc578c1fb66e31b55ffec75ff8fe021b.tar.gz bcm5719-llvm-746c06d0bc578c1fb66e31b55ffec75ff8fe021b.zip |
[analyzer] Replace -analyzer-no-eagerly-trim-egraph with graph-trim-interval.
After every 1000 CFGElements processed, the ExplodedGraph trims out nodes
that satisfy a number of criteria for being "boring" (single predecessor,
single successor, and more). Rather than controlling this with a cc1 option,
which can only disable this behavior, we now have an analyzer-config option,
'graph-trim-interval', which can change this interval from 1000 to something
else. Setting the value to 0 disables reclamation.
The next commit relies on this behavior to actually test anything.
llvm-svn: 166528
Diffstat (limited to 'clang/test/Analysis/analyzer-config.cpp')
-rw-r--r-- | clang/test/Analysis/analyzer-config.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Analysis/analyzer-config.cpp b/clang/test/Analysis/analyzer-config.cpp index 414324e8bc3..fb142669b42 100644 --- a/clang/test/Analysis/analyzer-config.cpp +++ b/clang/test/Analysis/analyzer-config.cpp @@ -16,6 +16,7 @@ public: // CHECK-NEXT: c++-template-inlining = true // CHECK-NEXT: cfg-temporary-dtors = false // CHECK-NEXT: faux-bodies = true +// CHECK-NEXT: graph-trim-interval = 1000 // CHECK-NEXT: ipa-always-inline-size = 3 // CHECK-NEXT: [stats] -// CHECK-NEXT: num-entries = 6 +// CHECK-NEXT: num-entries = 7 |