[PATCH] D84756: [Mingw] Don't export symbols from profile generate.

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 13:35:35 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGda324f990463: [LLD] [Mingw] Don't export symbols from profile generate (authored by SquallATF, committed by mstorsjo).

Repository:
  rG LLVM Github Monorepo

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

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.282032.patch
Type: text/x-patch
Size: 726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200730/8bd8b6b9/attachment.bin>


More information about the llvm-commits mailing list