Author: Peiyuan Song Date: 2020-07-31T19:58:15+02:00 New Revision: 821e924f0d3e0fc9b5991a126fd094eec12bd535
URL: https://github.com/llvm/llvm-project/commit/821e924f0d3e0fc9b5991a126fd094eec12bd535 DIFF: https://github.com/llvm/llvm-project/commit/821e924f0d3e0fc9b5991a126fd094eec12bd535.diff LOG: [LLD] [Mingw] Don't export symbols from profile generate Differential Revision: https://reviews.llvm.org/D84756 (cherry picked from commit da324f9904634855a0a3549284758cb079723cdf) Added: Modified: lld/COFF/MinGW.cpp Removed: ################################################################################ diff --git a/lld/COFF/MinGW.cpp b/lld/COFF/MinGW.cpp index bded985f04d0..e24cdca6ee34 100644 --- a/lld/COFF/MinGW.cpp +++ b/lld/COFF/MinGW.cpp @@ -34,6 +34,11 @@ AutoExporter::AutoExporter() { "libclang_rt.builtins-arm", "libclang_rt.builtins-i386", "libclang_rt.builtins-x86_64", + "libclang_rt.profile", + "libclang_rt.profile-aarch64", + "libclang_rt.profile-arm", + "libclang_rt.profile-i386", + "libclang_rt.profile-x86_64", "libc++", "libc++abi", "libunwind", @@ -57,6 +62,10 @@ AutoExporter::AutoExporter() { "__builtin_", // Artificial symbols such as .refptr ".", + // profile generate symbols + "__profc_", + "__profd_", + "__profvp_", }; excludeSymbolSuffixes = { _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
