[lld] e0e0948 - [LLD] [COFF] Add a couple "MinGW only" comments re linking against DLLs. NFC.
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 20 13:57:36 PDT 2021
Author: Martin Storsjö
Date: 2021-07-20T23:57:24+03:00
New Revision: e0e09481eef2602f14523e30a612e7c9fc941936
URL: https://github.com/llvm/llvm-project/commit/e0e09481eef2602f14523e30a612e7c9fc941936
DIFF: https://github.com/llvm/llvm-project/commit/e0e09481eef2602f14523e30a612e7c9fc941936.diff
LOG: [LLD] [COFF] Add a couple "MinGW only" comments re linking against DLLs. NFC.
This was requested in the post-commit review of D104530.
Added:
Modified:
lld/COFF/InputFiles.h
lld/COFF/Symbols.h
Removed:
################################################################################
diff --git a/lld/COFF/InputFiles.h b/lld/COFF/InputFiles.h
index 7fc242937292..47b5c588c5af 100644
--- a/lld/COFF/InputFiles.h
+++ b/lld/COFF/InputFiles.h
@@ -395,7 +395,7 @@ class BitcodeFile : public InputFile {
std::vector<Symbol *> symbols;
};
-// .dll file.
+// .dll file. MinGW only.
class DLLFile : public InputFile {
public:
explicit DLLFile(MemoryBufferRef m) : InputFile(DLLKind, m) {}
diff --git a/lld/COFF/Symbols.h b/lld/COFF/Symbols.h
index 65412362ef15..bb911171b1f5 100644
--- a/lld/COFF/Symbols.h
+++ b/lld/COFF/Symbols.h
@@ -311,6 +311,7 @@ class LazyObject : public Symbol {
LazyObjFile *file;
};
+// MinGW only.
class LazyDLLSymbol : public Symbol {
public:
LazyDLLSymbol(DLLFile *f, DLLFile::Symbol *s, StringRef n)
More information about the llvm-commits
mailing list