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 | 85ac3c716b1cadd7147b8545b0393263d2e8bbf6 (patch) | |
| tree | 37ad934d577260342b1257d8667fecf952ecb16d /lib/Serialization/ModuleManager.cpp | |
| parent | 4639d293beef1db30b3523f1ad00c19754fa6f99 (diff) | |
| download | clang-85ac3c716b1cadd7147b8545b0393263d2e8bbf6.tar.gz clang-85ac3c716b1cadd7147b8545b0393263d2e8bbf6.tar.bz2 clang-85ac3c716b1cadd7147b8545b0393263d2e8bbf6.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
