[PATCH] llvm-cov: add test for function & file association in the reports.

Alex Lorenz arphaman at gmail.com
Thu Sep 25 05:36:34 PDT 2014


Hi bogner, bob.wilson,

The attached patch contains a test which checks that the functions defined in header files will get associated with header files rather than source files for the reports.
This is a standalone test patch without any functionality change, because I've originally intended to create a patch which changes the association (so that the header defined functions will be associated with the non-header files), but now I think that the default approach is better.

http://reviews.llvm.org/D5489

Files:
  test/tools/llvm-cov/Inputs/reportFunctionPlacement.covmapping
  test/tools/llvm-cov/Inputs/reportFunctionPlacement.h
  test/tools/llvm-cov/Inputs/reportFunctionPlacement.profdata
  test/tools/llvm-cov/reportFunctionPlacement.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5489.14069.patch
Type: text/x-patch
Size: 1375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140925/cbe9968f/attachment.bin>


More information about the llvm-commits mailing list