Ted Kremenek
d52efc8fd6
Include full plist output in FileCheck test.
...
llvm-svn: 152859
2012-03-15 22:14:09 +00:00
Anna Zaks
6e5b48a6b4
[analyzer] Call enter/exit diagnostic should refer to caller/callee,
...
respectively.
llvm-svn: 152676
2012-03-13 22:15:55 +00:00
Anna Zaks
943c680605
[analyzer] Change the order in which we analyze the functions under
...
inlining to be the reverse of their declaration.
This optimizes running time under inlining up to 20% since we do not
re-analyze the utility functions which are usually defined first in the
translation unit if they have already been analyzed while inlined into
the root functions.
llvm-svn: 152653
2012-03-13 19:32:19 +00:00
Anna Zaks
0af3e06ff6
[analyzer] Rework inlining related command line options.
...
- Remove -analyzer-inline-call.
- Add -analyzer-ipa=[none|inlining]
- Add -analyzer-inlining-mode to allow experimentation for
different performance tuning methods.
llvm-svn: 152351
2012-03-08 23:16:35 +00:00
Ted Kremenek
04e860df2c
[analyzer] add a diagnostic event when entering a call via inlining, within the callee, and add an edge.
...
llvm-svn: 152086
2012-03-06 01:25:01 +00:00
Ted Kremenek
1bf3b04726
Make PathDiagnosticBuilder sensitive to varying LocationContexts, thus fixing a bug in the inlining diagnostics where the wrong location could be used.
...
llvm-svn: 151349
2012-02-24 07:12:52 +00:00
Ted Kremenek
29cebb377d
Remove stray path in test file.
...
llvm-svn: 151347
2012-02-24 06:01:01 +00:00
Ted Kremenek
60a7820ffe
Reapply r151317, but when computing the PathDiagnostic profile and size keep into account the nested structure. Also fix a problem with how
...
inlining impacted Plist diagnostics, and adjust some ranges in the Plist output due to richer information.
llvm-svn: 151346
2012-02-24 06:00:00 +00:00
Ted Kremenek
987dbdb56e
Update test case.
...
llvm-svn: 149964
2012-02-07 03:56:27 +00:00
Ted Kremenek
8e4c4266de
Rework flushing of diagnostics to PathDiagnosticConsumer. Now all the reports are batched up before being flushed
...
to the underlying consumer implementation. This allows us to unique reports across analyses to multiple functions (which
shows up with inlining).
llvm-svn: 148997
2012-01-25 23:47:14 +00:00