llvm-project/clang/test/CoverageMapping
Justin Bogner 055ebc348d InstrProf: Fix coverage mapping when "if" is a macro
We were propagating the coverage map into the body of an if statement,
but not into the condition thereafter. This is fine as long as the two
locations are in the same virtual file, but they won't be when the
"if" part of the statement is from a macro and the condition is not.

llvm-svn: 239803
2015-06-16 06:24:15 +00:00
..
Inputs InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
block-storage-starts-region.m InstrProf: Don't start or end coverage regions inside of system macros 2015-05-05 21:46:14 +00:00
break.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
builtinmacro.c InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:49 +00:00
casts.c InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:49 +00:00
classtemplate.cpp InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:49 +00:00
comment-in-macro.c InstrProf: Handle whitespace and comments at the ends of macros 2015-03-25 04:13:49 +00:00
continue.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
control-flow-macro.c InstrProf: Fix coverage mapping when "if" is a macro 2015-06-16 06:24:15 +00:00
header.cpp InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
if.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
includehell.cpp InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
ir.c Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
label.cpp InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
lambda.cpp InstrProf: Make sure counts in lambdas don't escape to the parent scope 2015-02-24 04:13:56 +00:00
logical.cpp InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:49 +00:00
loopmacro.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
loops.cpp InstrProf: Make sure coverage propagates out of foreach loops correctly 2015-04-30 21:31:02 +00:00
macro-expansion.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
macro-expressions.cpp InstrProf: Fix coverage maps for conditional operators 2015-04-24 23:37:57 +00:00
macroception.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
macroparams.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
macroparams2.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
macros.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
macroscopes.cpp InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
md.cpp InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
moremacros.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
nestedclass.cpp InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:49 +00:00
objc.m InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
preprocessor.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
return.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
switch.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
switchmacro.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
system_macro.c InstrProf: Only disable coverage in built-in macros, not all system macros 2015-05-14 22:14:10 +00:00
templates.cpp Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
test.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
trycatch.cpp InstrProf: Mark code regions after throw expressions as unreachable 2015-04-28 06:31:55 +00:00
unreachable-macro.c InstrProf: Fix a coverage crash where a macro begins in an unreachable block 2015-05-01 19:23:34 +00:00
unused_names.c InstrProf: Fix a shadowing error that would break length of profile names 2015-04-23 00:31:16 +00:00
while.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00