projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a98a9
)
[LLD] [Mingw] Don't export symbols from profile generate
author
Peiyuan Song
<squallatf@gmail.com>
Thu, 30 Jul 2020 20:32:37 +0000
(23:32 +0300)
committer
Martin Storsjö
<martin@martin.st>
Thu, 30 Jul 2020 20:33:20 +0000
(23:33 +0300)
Differential Revision: https://reviews.llvm.org/D84756
lld/COFF/MinGW.cpp
patch
|
blob
|
history
diff --git
a/lld/COFF/MinGW.cpp
b/lld/COFF/MinGW.cpp
index bded985f04d0f60b6db8aea88f7acda606d29086..e24cdca6ee34c8da3ec46fb1543ed0b35760d01b 100644
(file)
--- 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 = {