summaryrefslogtreecommitdiffstats
path: root/lld/COFF/SymbolTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/SymbolTable.h')
-rw-r--r--lld/COFF/SymbolTable.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lld/COFF/SymbolTable.h b/lld/COFF/SymbolTable.h
index a48b623d0cc..55481e6475b 100644
--- a/lld/COFF/SymbolTable.h
+++ b/lld/COFF/SymbolTable.h
@@ -83,9 +83,12 @@ public:
Symbol *addUndefined(StringRef Name, InputFile *F, bool IsWeakAlias);
void addLazy(ArchiveFile *F, const Archive::Symbol Sym);
Symbol *addAbsolute(StringRef N, COFFSymbolRef S);
- Symbol *addRegular(InputFile *F, StringRef N, bool IsCOMDAT,
+ Symbol *addRegular(InputFile *F, StringRef N,
const llvm::object::coff_symbol_generic *S = nullptr,
SectionChunk *C = nullptr);
+ std::pair<Symbol *, bool>
+ addComdat(InputFile *F, StringRef N,
+ const llvm::object::coff_symbol_generic *S = nullptr);
Symbol *addCommon(InputFile *F, StringRef N, uint64_t Size,
const llvm::object::coff_symbol_generic *S = nullptr,
CommonChunk *C = nullptr);
OpenPOWER on IntegriCloud