[PATCH] Add tests for coverage mapping

Alex Lorenz arphaman at gmail.com
Mon Aug 11 11:00:28 PDT 2014


Hi bob.wilson, bogner,

This is a resubmission of the patch from http://reviews.llvm.org/D4793.
This patch fixes the failure in macroparams.c.
It also fixes some windows failures in trycatch.cpp and classtemplate.cpp by specifying a triple for files that have constructs that clang can't mangle yet.
The other windows in class.cpp and derivedclass.cpp failures are fixed by r215365.

http://reviews.llvm.org/D4847

Files:
  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4847.12353.patch
Type: text/x-patch
Size: 45109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140811/8b5086d0/attachment.bin>


More information about the llvm-commits mailing list