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 IR.
This patch depends on the updated command line coverage tool.
Paths
| Differential D4793
Tests for coverage mapping ClosedPublic Authored by arphaman on Aug 5 2014, 11:05 AM.
Details Summary This patch adds the tests for the coverage mapping generation. Most of the tests check This patch depends on the updated command line coverage tool.
Diff Detail Event Timelinearphaman updated this object.
Comment Actions I've updated the patch to test using the 'dump-coverage-mapping' option instead of relying on external tools.
Revision Contents
Diff 12213 test/CoverageMapping/Inputs/code.h
test/CoverageMapping/Inputs/header1.h
test/CoverageMapping/break.c
test/CoverageMapping/builtinmacro.c
test/CoverageMapping/casts.c
test/CoverageMapping/class.cpp
test/CoverageMapping/classtemplate.cpp
test/CoverageMapping/continue.c
test/CoverageMapping/derivedclass.cpp
test/CoverageMapping/header.cpp
test/CoverageMapping/if.c
test/CoverageMapping/includehell.cpp
test/CoverageMapping/ir.c
test/CoverageMapping/label.cpp
test/CoverageMapping/logical.cpp
test/CoverageMapping/loopmacro.c
test/CoverageMapping/loops.cpp
test/CoverageMapping/macroception.c
test/CoverageMapping/macroparams.c
test/CoverageMapping/macroparams2.c
test/CoverageMapping/macros.c
test/CoverageMapping/nestedclass.cpp
test/CoverageMapping/preprocessor.c
test/CoverageMapping/return.c
test/CoverageMapping/switch.c
test/CoverageMapping/templates.cpp
test/CoverageMapping/test.c
test/CoverageMapping/trycatch.cpp
|
I don't think we allow execution tests in Clang's internal test suite. Can this live in test-suite?