diff options
Diffstat (limited to 'contrib/llvm-project/lld/MachO/SymbolTable.h')
-rw-r--r-- | contrib/llvm-project/lld/MachO/SymbolTable.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/llvm-project/lld/MachO/SymbolTable.h b/contrib/llvm-project/lld/MachO/SymbolTable.h index 5f844170efe0..0ecfa6dcd093 100644 --- a/contrib/llvm-project/lld/MachO/SymbolTable.h +++ b/contrib/llvm-project/lld/MachO/SymbolTable.h @@ -69,7 +69,12 @@ private: std::vector<Symbol *> symVector; }; -void treatUndefinedSymbol(const Undefined &, StringRef source = ""); +void reportPendingUndefinedSymbols(); + +// Call reportPendingUndefinedSymbols() to emit diagnostics. +void treatUndefinedSymbol(const Undefined &, StringRef source); +void treatUndefinedSymbol(const Undefined &, const InputSection *, + uint64_t offset); extern std::unique_ptr<SymbolTable> symtab; |