diff options
Diffstat (limited to 'ELF/InputFiles.h')
-rw-r--r-- | ELF/InputFiles.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ELF/InputFiles.h b/ELF/InputFiles.h index 2eec78444837..544a0b009b39 100644 --- a/ELF/InputFiles.h +++ b/ELF/InputFiles.h @@ -251,6 +251,7 @@ public: explicit ArchiveFile(std::unique_ptr<Archive> &&File); static bool classof(const InputFile *F) { return F->kind() == ArchiveKind; } template <class ELFT> void parse(); + ArrayRef<Symbol *> getSymbols() { return Symbols; } // Returns a memory buffer for a given symbol and the offset in the archive // for the member. An empty memory buffer and an offset of zero @@ -261,6 +262,7 @@ public: private: std::unique_ptr<Archive> File; llvm::DenseSet<uint64_t> Seen; + std::vector<Symbol *> Symbols; }; class BitcodeFile : public InputFile { |