aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionPass.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-07-31 00:34:52 +0000
committerTed Kremenek <kremenek@apple.com>2009-07-31 00:34:52 +0000
commitdf4b3dc3a41b7ec23feda94e15262dd248b22926 (patch)
treea9b69acc6c690dd14102941b9fbbbd4474cee15a /llvm/lib/CodeGen/MachineFunctionPass.cpp
parentf3f955279b111c447283b40ffd82a1454c7552a0 (diff)
downloadllvm-df4b3dc3a41b7ec23feda94e15262dd248b22926.zip
llvm-df4b3dc3a41b7ec23feda94e15262dd248b22926.tar.gz
llvm-df4b3dc3a41b7ec23feda94e15262dd248b22926.tar.bz2
Fix use-after-release bug introduced in r77585 where the PathDiagnosticClient
created by AnalysisConsumer would be released by an instance of AnalysisManager and then reused by later instances of AnalysisManager. Ownership of the PathDiagnosticClient now belongs (for now) in AnalysisConsumer. We also need this layering (for now) because the HTMLDiagnostiClient requires that the entire translation unit be processed before emitting diagnostics. This is done in its destructor (which should also be fixed, but that is another issue). This fixes PR 4653. llvm-svn: 77648
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions