aboutsummaryrefslogtreecommitdiff
path: root/COFF/DLL.h
diff options
context:
space:
mode:
Diffstat (limited to 'COFF/DLL.h')
-rw-r--r--COFF/DLL.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/COFF/DLL.h b/COFF/DLL.h
index c5d6e7c93abf7..a298271e2c0da 100644
--- a/COFF/DLL.h
+++ b/COFF/DLL.h
@@ -19,19 +19,12 @@ namespace coff {
// Windows-specific.
// IdataContents creates all chunks for the DLL import table.
// You are supposed to call add() to add symbols and then
-// call getChunks() to get a list of chunks.
+// call create() to populate the chunk vectors.
class IdataContents {
public:
void add(DefinedImportData *Sym) { Imports.push_back(Sym); }
bool empty() { return Imports.empty(); }
- std::vector<Chunk *> getChunks();
- uint64_t getDirRVA() { return Dirs[0]->getRVA(); }
- uint64_t getDirSize();
- uint64_t getIATRVA() { return Addresses[0]->getRVA(); }
- uint64_t getIATSize();
-
-private:
void create();
std::vector<DefinedImportData *> Imports;