summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/TraceValues.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-28 21:27:06 +0000
committerChris Lattner <sabre@nondot.org>2002-04-28 21:27:06 +0000
commit97e52e43361e77963145b95a576db11b4d14d309 (patch)
tree03542b3cac24b157de868bce2678398c756a8587 /lib/Transforms/Instrumentation/TraceValues.cpp
parent0ad0d0e09a6fb78454c253bf84a3ec8ca9575b13 (diff)
downloadllvm-97e52e43361e77963145b95a576db11b4d14d309.tar.gz
llvm-97e52e43361e77963145b95a576db11b4d14d309.tar.bz2
llvm-97e52e43361e77963145b95a576db11b4d14d309.tar.xz
Tighten up the AnalysisUsage of lots of passes, primarily to correctly indicate whether or not they invalidate the CFGA
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/TraceValues.cpp')
-rw-r--r--lib/Transforms/Instrumentation/TraceValues.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Transforms/Instrumentation/TraceValues.cpp b/lib/Transforms/Instrumentation/TraceValues.cpp
index 7b263c76ad..384516283c 100644
--- a/lib/Transforms/Instrumentation/TraceValues.cpp
+++ b/lib/Transforms/Instrumentation/TraceValues.cpp
@@ -49,6 +49,10 @@ namespace {
bool runOnFunction(Function *F) {
return doit(F, TraceBasicBlockExits, TraceFunctionExits, PrintfFunc);
}
+
+ virtual void getAnalysisUsage(AnalysisUsage &AU) const {
+ AU.preservesCFG();
+ }
};
} // end anonymous namespace