This patch adds the tests for the coverage mapping generation. Most of the tests check the mapping regions produced by the generator, and one checks the llvm IR. Differential Revision: http://reviews.llvm.org/D4847 llvm-svn: 215995
12 lines
91 B
C
12 lines
91 B
C
x = x;
|
|
if (x == 0) {
|
|
x = 1;
|
|
} else {
|
|
x = 2;
|
|
}
|
|
if (true) {
|
|
x = x;
|
|
} else {
|
|
x = x;
|
|
}
|