[compiler-rt] [llvm] [llvm-cov][gcov] Support multi-files coverage in one basic block (PR #144504)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 17 23:00:11 PDT 2025
================
@@ -32,10 +32,8 @@ int main(int argc, char *argv[]) { // CHECK: 1: [[#]]:int main
//--- a.h
/// Apple targets doesn't enable -mconstructor-aliases by default and the count may be 4.
struct A { A() { } }; // CHECK: {{[24]}}: [[#]]:struct A
-inline auto *const inl_var_a =
- new A;
-/// TODO a.inc:1 should have line execution.
-// CHECK-NOT: {{^ +[0-9]+:}}
+inline auto *const inl_var_a = // CHECK: 1: [[#]]:
----------------
MaskRay wrote:
-NEXT:
otherwise `1: [[#]]:` could match a different line
https://github.com/llvm/llvm-project/pull/144504
More information about the llvm-commits
mailing list