[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-05-08 Thread Lei Wang via cfe-commits
https://github.com/wlei-llvm closed https://github.com/llvm/llvm-project/pull/136333 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-05-08 Thread Ellis Hoag via cfe-commits
https://github.com/ellishg approved this pull request. https://github.com/llvm/llvm-project/pull/136333 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-05-07 Thread Lei Wang via cfe-commits
https://github.com/wlei-llvm updated https://github.com/llvm/llvm-project/pull/136333 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-05-07 Thread Lei Wang via cfe-commits
https://github.com/wlei-llvm edited https://github.com/llvm/llvm-project/pull/136333 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-05-07 Thread Lei Wang via cfe-commits
https://github.com/wlei-llvm updated https://github.com/llvm/llvm-project/pull/136333 >From 3d770595ce6568148ddfe2596f1a53dfc2ee751f Mon Sep 17 00:00:00 2001 From: wlei Date: Fri, 18 Apr 2025 10:37:30 -0700 Subject: [PATCH 1/2] [Inverge] Support -fprofile-list for cold function coveragege ---

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-05-07 Thread Lei Wang via cfe-commits
https://github.com/wlei-llvm updated https://github.com/llvm/llvm-project/pull/136333 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-05-07 Thread Lei Wang via cfe-commits
wlei-llvm wrote: > LGTM, but I'd like to bikeshed the name a bit. Since this is only used for > the Sample PGO pipeline, should we include Sample PGO in the name? Sounds good, I will go with `[sample-coldcov]` if that works for you. https://github.com/llvm/llvm-project/pull/136333

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-05-07 Thread Lei Wang via cfe-commits
@@ -9,6 +9,9 @@ // RUN: echo -e "[clang]\nfun:test1\n[llvm]\nfun:test2" > %t-section.list // RUN: %clang_cc1 -fprofile-instrument=llvm -fprofile-list=%t-section.list -emit-llvm %s -o - | FileCheck %s --check-prefix=SECTION +// RUN: echo -e "[coldcov]\nfun:test*\n!fun:test2" >

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-05-07 Thread Lei Wang via cfe-commits
@@ -9,6 +9,9 @@ // RUN: echo -e "[clang]\nfun:test1\n[llvm]\nfun:test2" > %t-section.list // RUN: %clang_cc1 -fprofile-instrument=llvm -fprofile-list=%t-section.list -emit-llvm %s -o - | FileCheck %s --check-prefix=SECTION +// RUN: echo -e "[coldcov]\nfun:test*\n!fun:test2" >

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-04-29 Thread Lei Wang via cfe-commits
wlei-llvm wrote: ping:) https://github.com/llvm/llvm-project/pull/136333 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-04-18 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Lei Wang (wlei-llvm) Changes Add a new instrumentation section type `[coldcov]` to support`-fprofile-list` for cold function coverage. Note that the current cold function coverage is based on sampling PGO pipeline, which is incomp

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-04-18 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Lei Wang (wlei-llvm) Changes Add a new instrumentation section type `[coldcov]` to support`-fprofile-list` for cold function coverage. Note that the current cold function coverage is based on sampling PGO pipeline, which is incompatible

[clang] [Coverage] Support -fprofile-list for cold function coverage (PR #136333)

2025-04-18 Thread Lei Wang via cfe-commits
https://github.com/wlei-llvm created https://github.com/llvm/llvm-project/pull/136333 Add a new instrumentation section type `[coldcov]` to support`-fprofile-list` for cold function coverage. Note that the current cold function coverage is based on sampling PGO pipeline, which is incompatible