Skip to content

Commit

Permalink
[gcov] Fix memory leak due to BranchProbabilityInfoWrapperPass
Browse files Browse the repository at this point in the history
This is weird.
  • Loading branch information
MaskRay committed Sep 13, 2020
1 parent 63182c2 commit 5f4e9bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
Expand Up @@ -193,7 +193,6 @@ class GCOVProfilerLegacyPass : public ModulePass {

void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.addRequired<BlockFrequencyInfoWrapperPass>();
AU.addRequired<BranchProbabilityInfoWrapperPass>();
AU.addRequired<TargetLibraryInfoWrapperPass>();
}

Expand Down

0 comments on commit 5f4e9bf

Please sign in to comment.