[PATCH] D83149: [gcov] Add __gcov_dump/__gcov_reset and delete __gcov_flush
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 3 17:14:34 PDT 2020
MaskRay created this revision.
MaskRay added reviewers: calixte, marco-c, serge-sans-paille, vsk.
Herald added subscribers: llvm-commits, Sanitizers, cfe-commits, hiraditya.
Herald added projects: clang, Sanitizers, LLVM.
GCC r187297 (2012-05) introduced __gcov_dump and __gcov_reset.
__gcov_flush = __gcov_dump + __gcov_reset
https://gcc.gnu.org/PR93623 (target GCC 11.0) removed the unuseful and undocumented __gcov_flush.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83149
Files:
clang/lib/Driver/ToolChains/Darwin.cpp
clang/test/Driver/darwin-ld.c
compiler-rt/lib/profile/GCDAProfiling.c
compiler-rt/test/profile/Inputs/instrprof-dlopen-dlclose-main.c
compiler-rt/test/profile/Inputs/instrprof-dlopen-dlclose-main.c.gcov
compiler-rt/test/profile/Inputs/instrprof-dlopen-dlclose-main_three-libs.c.gcov
compiler-rt/test/profile/Posix/gcov-shared-flush.c
compiler-rt/test/profile/gcov-__gcov_flush-terminate.c
compiler-rt/test/profile/gcov-dump-and-remove.c
llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83149.275468.patch
Type: text/x-patch
Size: 18171 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200704/6a6c6c68/attachment-0001.bin>
More information about the cfe-commits
mailing list