summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/BranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-04-11 23:06:35 +0000
committerJustin Bogner <mail@justinbogner.com>2014-04-11 23:06:35 +0000
commit191ec63b718d85b3445bfb29b01a3f4ddee989e2 (patch)
tree25412712fe5b7b729b3c63afb93f1c394c719bb6 /llvm/lib/Analysis/BranchProbabilityInfo.cpp
parentb60e61c15fce38f031576adb7bd2d78b3382a916 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud