COFF: Implement /merge option.
/merge:.foo=.bar makes the linker to merge section .foo with section .bar.
llvm-svn: 241396
diff --git a/lld/COFF/Config.h b/lld/COFF/Config.h
index 578152e..c94134a 100644
--- a/lld/COFF/Config.h
+++ b/lld/COFF/Config.h
@@ -54,6 +54,7 @@
   bool DoGC = true;
   bool Relocatable = true;
   bool Force = false;
+  bool Debug = false;
 
   // Symbols in this set are considered as live by the garbage collector.
   std::set<Undefined *> GCRoot;
@@ -70,6 +71,9 @@
   // Used for /opt:icf
   bool ICF = false;
 
+  // Used for /merge:from=to (e.g. /merge:.rdata=.text)
+  std::map<StringRef, StringRef> Merge;
+
   // Options for manifest files.
   ManifestKind Manifest = SideBySide;
   int ManifestID = 1;