summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/malloc-interprocedural.c
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-03-02 19:05:03 +0000
committerAnna Zaks <ganna@apple.com>2012-03-02 19:05:03 +0000
commit265087721ae2938b3886d68898e5eec5bd4a3816 (patch)
tree8c4ff80551678f1d0b9d09d76d43a31d4de2a09b /clang/test/Analysis/malloc-interprocedural.c
parent242d9838c6e203f927a38292c9c303a846a284ad (diff)
downloadbcm5719-llvm-265087721ae2938b3886d68898e5eec5bd4a3816.tar.gz
bcm5719-llvm-265087721ae2938b3886d68898e5eec5bd4a3816.zip
[analyzer] Bound the size of the functions being inlined + provide
command line options for inlining tuning. This adds the option for stack depth bound as well as function size bound. + minor doxygenification llvm-svn: 151930
Diffstat (limited to 'clang/test/Analysis/malloc-interprocedural.c')
-rw-r--r--clang/test/Analysis/malloc-interprocedural.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/malloc-interprocedural.c b/clang/test/Analysis/malloc-interprocedural.c
index 374c4a310d1..8a42f393ba6 100644
--- a/clang/test/Analysis/malloc-interprocedural.c
+++ b/clang/test/Analysis/malloc-interprocedural.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=unix.Malloc -analyzer-inline-call -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-checker=unix.Malloc -analyzer-inline-call -analyzer-inline-max-stack-depth 5 -analyzer-inline-max-function-size 6 -analyzer-store=region -verify %s
#include "system-header-simulator.h"
OpenPOWER on IntegriCloud