aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CoverageMapping/trymacro.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-06-22[Coverage] Push a new region when handling CXXTryStmtsVedant Kumar1-0/+19
Push a new region for the try block and propagate execution counts through it. This ensures that catch statements get a region counter distinct from the try block's counter. llvm-svn: 273463
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-07-23InstrProf: Fix a typo in the test for r243066Justin Bogner1-1/+1
llvm-svn: 243068
2015-07-23InstrProf: Don't extend coverage regions into the catch keywordJustin Bogner1-0/+24
The catch keyword isn't really part of a region, so it's fairly meaningless to extend into it. This was usually harmless, but it could crash when catch blocks involved macros in strange ways. llvm-svn: 243066