aboutsummaryrefslogtreecommitdiff
path: root/COFF/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'COFF/Config.h')
-rw-r--r--COFF/Config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/COFF/Config.h b/COFF/Config.h
index 409ede648636..9cfccadba5fa 100644
--- a/COFF/Config.h
+++ b/COFF/Config.h
@@ -25,6 +25,7 @@ using llvm::COFF::WindowsSubsystem;
using llvm::StringRef;
class DefinedAbsolute;
class DefinedRelative;
+class StringChunk;
class Undefined;
// Short aliases.
@@ -42,6 +43,12 @@ struct Export {
bool Data = false;
bool Private = false;
+ // If an export is a form of /export:foo=dllname.bar, that means
+ // that foo should be exported as an alias to bar in the DLL.
+ // ForwardTo is set to "dllname.bar" part. Usually empty.
+ StringRef ForwardTo;
+ StringChunk *ForwardChunk = nullptr;
+
// True if this /export option was in .drectves section.
bool Directives = false;
StringRef SymbolName;