[PATCH] D66763: Ignore object files that lack coverage information. Before this change, if multiple binary files were presented, all of them must have been instrumented or the load would fail with coverage_map_error::no_data_found.
Dean Sturtevant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 11:21:31 PDT 2019
deansturtevant created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D66763
Files:
llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
llvm/lib/ProfileData/InstrProfReader.cpp
llvm/test/tools/llvm-cov/Inputs/multiple_objects_not_all_instrumented/header.h
llvm/test/tools/llvm-cov/Inputs/multiple_objects_not_all_instrumented/use_1
llvm/test/tools/llvm-cov/Inputs/multiple_objects_not_all_instrumented/use_1.cc
llvm/test/tools/llvm-cov/Inputs/multiple_objects_not_all_instrumented/use_1.profdata
llvm/test/tools/llvm-cov/Inputs/multiple_objects_not_all_instrumented/use_1.raw
llvm/test/tools/llvm-cov/Inputs/multiple_objects_not_all_instrumented/use_2
llvm/test/tools/llvm-cov/Inputs/multiple_objects_not_all_instrumented/use_2.cc
llvm/test/tools/llvm-cov/Inputs/multiple_objects_not_all_instrumented/use_3
llvm/test/tools/llvm-cov/multiple-objects-not-all-instrumented.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66763.217211.patch
Type: text/x-patch
Size: 6290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190826/88a2fb96/attachment.bin>
More information about the llvm-commits
mailing list