[LLD] [COFF] Add a couple "MinGW only" comments re linking against DLLs. NFC.
authorMartin Storsjö <martin@martin.st>
Tue, 20 Jul 2021 20:56:00 +0000 (23:56 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 20 Jul 2021 20:57:24 +0000 (23:57 +0300)
This was requested in the post-commit review of D104530.

lld/COFF/InputFiles.h
lld/COFF/Symbols.h

index 7fc2429..47b5c58 100644 (file)
@@ -395,7 +395,7 @@ private:
   std::vector<Symbol *> symbols;
 };
 
-// .dll file.
+// .dll file. MinGW only.
 class DLLFile : public InputFile {
 public:
   explicit DLLFile(MemoryBufferRef m) : InputFile(DLLKind, m) {}
index 6541236..bb91117 100644 (file)
@@ -311,6 +311,7 @@ public:
   LazyObjFile *file;
 };
 
+// MinGW only.
 class LazyDLLSymbol : public Symbol {
 public:
   LazyDLLSymbol(DLLFile *f, DLLFile::Symbol *s, StringRef n)