diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-04-11 23:06:35 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-04-11 23:06:35 +0000 |
commit | 191ec63b718d85b3445bfb29b01a3f4ddee989e2 (patch) | |
tree | 25412712fe5b7b729b3c63afb93f1c394c719bb6 /llvm/lib/Analysis/BranchProbabilityInfo.cpp | |
parent | b60e61c15fce38f031576adb7bd2d78b3382a916 (diff) | |
download | bcm5719-llvm-191ec63b718d85b3445bfb29b01a3f4ddee989e2.tar.gz bcm5719-llvm-191ec63b718d85b3445bfb29b01a3f4ddee989e2.zip |
CodeGen: Fix handling of C++11 lambdas in profiling
Until now we were generating duplicate counters for lambdas: one set
in the function where the lambda was declared and another for the
lambda itself. Instead, we should skip over the bodies of lambdas in
their containing contexts.
llvm-svn: 206081
Diffstat (limited to 'llvm/lib/Analysis/BranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions