From e0e09481eef2602f14523e30a612e7c9fc941936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 20 Jul 2021 23:56:00 +0300 Subject: [PATCH] [LLD] [COFF] Add a couple "MinGW only" comments re linking against DLLs. NFC. This was requested in the post-commit review of D104530. --- lld/COFF/InputFiles.h | 2 +- lld/COFF/Symbols.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 @@ private: std::vector 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 @@ public: LazyObjFile *file; }; +// MinGW only. class LazyDLLSymbol : public Symbol { public: LazyDLLSymbol(DLLFile *f, DLLFile::Symbol *s, StringRef n)