[PATCH] D70910: [compiler-rt] Add a critical section when flushing gcov counters

calixte via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 01:37:39 PST 2019


calixte updated this revision to Diff 231844.
calixte added a comment.

Remove unused function


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70910/new/

https://reviews.llvm.org/D70910

Files:
  compiler-rt/lib/profile/GCDAProfiling.c


Index: compiler-rt/lib/profile/GCDAProfiling.c
===================================================================
--- compiler-rt/lib/profile/GCDAProfiling.c
+++ compiler-rt/lib/profile/GCDAProfiling.c
@@ -71,7 +71,6 @@
 static __inline void gcov_flush_unlock() {
   pthread_mutex_unlock(&gcov_flush_mutex);
 }
-static __inline void gcov_flush_init_once(void) {}
 #else
 #include <windows.h>
 static SRWLOCK gcov_flush_mutex = SRWLOCK_INIT;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70910.231844.patch
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191203/fee13e6a/attachment.bin>


More information about the llvm-commits mailing list