aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CoverageMapping/lambda.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-02-04[PGO] cc1 option name change for profile instrumentationRong Xu1-1/+1
This patch changes cc1 option -fprofile-instr-generate to an enum option -fprofile-instrument={clang|none}. It also changes cc1 options -fprofile-instr-generate= to -fprofile-instrument-path=. The driver level option -fprofile-instr-generate and -fprofile-instr-generate= remain intact. This change will pave the way to integrate new PGO instrumentation in IR level. Review: http://reviews.llvm.org/D16730 llvm-svn: 259811
2015-02-24InstrProf: Make sure counts in lambdas don't escape to the parent scopeJustin Bogner1-0/+17
When generating coverage maps, we were traversing the body as if it were part of the parent function, but this doesn't make sense since we're currently counting lambdas as separate functions. llvm-svn: 230304