summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/function.objects/refwrap/refwrap.const
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-08-26 20:00:27 +0000
committerDiego Novillo <dnovillo@google.com>2015-08-26 20:00:27 +0000
commit7732ae4a4f1c9b57c8b99e664790a6b8788fd1d4 (patch)
treef17eb0f7a92465fe09774d78ca030fd3518aa47a /libcxx/test/std/utilities/function.objects/refwrap/refwrap.const
parentfe9a1d7a69f24914ac3f246b654805527fbd856b (diff)
downloadbcm5719-llvm-7732ae4a4f1c9b57c8b99e664790a6b8788fd1d4.tar.gz
bcm5719-llvm-7732ae4a4f1c9b57c8b99e664790a6b8788fd1d4.zip
Fix memory leak in sample profile pass.
The problem here were the function analyses invoked by the function pass manager from the new IPO pass. I looked at other IPO passes needing dominance information and the only one that requires it (partial inliner) does not use the standard dependency mechanism. This patch mimics what the partial inliner does to compute dominance, post-dominance and loop info. One thing I like about this approach is that I can delay the computation of all this until I actually need it. This should bring the ASAN buildbot back to green. If there's a better way to fix this, I'll do it in a follow-up patch. llvm-svn: 246066
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/refwrap/refwrap.const')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud