Skip to content

Commit

Permalink
clang/gcov: supports compatibility with gcc standard gcov output
Browse files Browse the repository at this point in the history
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
  • Loading branch information
W-M-R committed Nov 21, 2024
1 parent 6631134 commit ab234d4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libs/libbuiltin/compiler-rt/coverage.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,3 +353,13 @@ size_t __llvm_profile_dump(const char *path)

#endif
}

void __gcov_dump(void)
{
char *path = getenv("GCOV_PREFIX");
__llvm_profile_dump(path);
}

void __gcov_reset(void)
{
}

0 comments on commit ab234d4

Please sign in to comment.