[PATCH] D84756: [Mingw] Don't export symbols from profile generate.
Peiyuan Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 28 07:38:56 PDT 2020
SquallATF created this revision.
Herald added subscribers: llvm-commits, mstorsjo.
Herald added a project: LLVM.
SquallATF requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D84756
Files:
lld/COFF/MinGW.cpp
Index: lld/COFF/MinGW.cpp
===================================================================
--- lld/COFF/MinGW.cpp
+++ lld/COFF/MinGW.cpp
@@ -34,6 +34,11 @@
"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 @@
"__builtin_",
// Artificial symbols such as .refptr
".",
+ // profile generate symbols
+ "__profc_",
+ "__profd_",
+ "__profvp_",
};
excludeSymbolSuffixes = {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84756.281231.patch
Type: text/x-patch
Size: 726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200728/b6bf917c/attachment.bin>
More information about the llvm-commits
mailing list