Author: Fangrui Song Date: 2020-09-10T10:15:27-07:00 New Revision: ab1de1fcfb0c53bc768deb8f8bacefad7d378b7b
URL: https://github.com/llvm/llvm-project/commit/ab1de1fcfb0c53bc768deb8f8bacefad7d378b7b DIFF: https://github.com/llvm/llvm-project/commit/ab1de1fcfb0c53bc768deb8f8bacefad7d378b7b.diff LOG: [gcov] Delete flush_fn_list (unused since D83149) Added: Modified: clang/lib/Driver/ToolChains/Darwin.cpp compiler-rt/lib/profile/GCDAProfiling.c Removed: ################################################################################ diff --git a/clang/lib/Driver/ToolChains/Darwin.cpp b/clang/lib/Driver/ToolChains/Darwin.cpp index 9d22cda21711..8f2be2a343cc 100644 --- a/clang/lib/Driver/ToolChains/Darwin.cpp +++ b/clang/lib/Driver/ToolChains/Darwin.cpp @@ -1197,7 +1197,6 @@ void Darwin::addProfileRTLibs(const ArgList &Args, if (ForGCOV) { addExportedSymbol(CmdArgs, "___gcov_dump"); addExportedSymbol(CmdArgs, "___gcov_reset"); - addExportedSymbol(CmdArgs, "_flush_fn_list"); addExportedSymbol(CmdArgs, "_writeout_fn_list"); addExportedSymbol(CmdArgs, "_reset_fn_list"); } else { diff --git a/compiler-rt/lib/profile/GCDAProfiling.c b/compiler-rt/lib/profile/GCDAProfiling.c index cf6c44bae641..405568187241 100644 --- a/compiler-rt/lib/profile/GCDAProfiling.c +++ b/compiler-rt/lib/profile/GCDAProfiling.c @@ -127,11 +127,6 @@ struct fn_list { */ struct fn_list writeout_fn_list; -/* - * A list of flush functions that our __gcov_flush() function should call, shared between all dynamic objects. - */ -struct fn_list flush_fn_list; - /* * A list of reset functions, shared between all dynamic objects. */ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits