1 //===- MinGW.h --------------------------------------------------*- C++ -*-===//
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLD_COFF_MINGW_H
11 #define LLD_COFF_MINGW_H
15 #include "lld/Common/LLVM.h"
20 // Logic for deciding what symbols to export, when exporting all
26 void initSymbolExcludes();
28 void addWholeArchive(StringRef Path);
30 llvm::StringSet<> ExcludeSymbols;
31 llvm::StringSet<> ExcludeSymbolPrefixes;
32 llvm::StringSet<> ExcludeSymbolSuffixes;
33 llvm::StringSet<> ExcludeLibs;
34 llvm::StringSet<> ExcludeObjects;
36 bool shouldExport(Defined *Sym) const;
39 void writeDefFile(StringRef Name);