summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-09-22 01:24:56 +0000
committerJordan Rose <jordan_rose@apple.com>2012-09-22 01:24:56 +0000
commitfa92f0f2988e597e037a3757b70f30d5bb457e40 (patch)
tree655adac22631c1163863afffbc7c32d410538d25 /llvm/lib/Support
parent5a751b993f4b4222b4038b1fe51a72c0e3178306 (diff)
downloadbcm5719-llvm-fa92f0f2988e597e037a3757b70f30d5bb457e40.tar.gz
bcm5719-llvm-fa92f0f2988e597e037a3757b70f30d5bb457e40.zip
[analyzer] Always allow BugReporterVisitors to see the bug path.
Before, PathDiagnosticConsumers that did not support actual path output would (sensibly) cause the generation of the full path to be skipped. However, BugReporterVisitors may want to see the path in order to mark a BugReport as invalid. Now, even for a path generation scheme of 'None' we will still create a trimmed graph and walk backwards through the bug path, doing no work other than passing the nodes to the BugReporterVisitors. This isn't cheap, but it's necessary to properly do suppression when the first path consumer does not support path notes. In the future, we should try only generating the path and visitor-provided path notes once, or at least only creating the trimmed graph once. llvm-svn: 164447
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud