summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputFiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/InputFiles.h')
-rw-r--r--lld/ELF/InputFiles.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/ELF/InputFiles.h b/lld/ELF/InputFiles.h
index 86ec5360670..00ab848eddf 100644
--- a/lld/ELF/InputFiles.h
+++ b/lld/ELF/InputFiles.h
@@ -169,6 +169,7 @@ template <class ELFT> class SharedFile : public ELFFileBase<ELFT> {
typedef typename llvm::object::ELFFile<ELFT>::Elf_Sym_Range Elf_Sym_Range;
std::vector<SharedSymbol<ELFT>> SymbolBodies;
+ std::vector<StringRef> Undefs;
StringRef SoName;
public:
@@ -177,6 +178,8 @@ public:
return SymbolBodies;
}
+ llvm::ArrayRef<StringRef> getUndefinedSymbols() { return Undefs; }
+
static bool classof(const InputFile *F) {
return F->kind() == Base::SharedKind;
}
OpenPOWER on IntegriCloud