This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
phosek marked an inline comment as done.
Closed by commit rG9fd9b5a9c9ec: Don't emit coverage mapping for excluded
functions (authored by phosek).
Repository:
rG LLV
vsk accepted this revision.
vsk added a comment.
This revision is now accepted and ready to land.
Thanks, lgtm.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96000/new/
https://reviews.llvm.org/D96000
__
phosek marked an inline comment as done.
phosek added inline comments.
Comment at: clang/test/CodeGen/profile-filter.c:27
+// EXCLUDE: @__covrec_{{[0-9A-F]+}}u = linkonce_odr hidden constant <{ i64,
i32, i64, i64, [{{.*}} x i8] }> <{ {{.*}} }>, section "__llvm_covfun"
+// EXCLUD
phosek updated this revision to Diff 321670.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96000/new/
https://reviews.llvm.org/D96000
Files:
clang/lib/CodeGen/CodeGenPGO.cpp
clang/test/CodeGen/profile-filter.c
Index: clang/test/CodeGen/profile
vsk added inline comments.
Comment at: clang/test/CodeGen/profile-filter.c:27
+// EXCLUDE: @__covrec_{{[0-9A-F]+}}u = linkonce_odr hidden constant <{ i64,
i32, i64, i64, [{{.*}} x i8] }> <{ {{.*}} }>, section "__llvm_covfun"
+// EXCLUDE-NOT: @__covrec_{{[0-9A-F]+}}u = linkonce_o
phosek created this revision.
phosek added reviewers: davidxl, vsk.
Herald added a subscriber: wenlei.
phosek requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
When a function or a file is excluded using -fprofile-list= option,
don't emit cov