aboutsummaryrefslogtreecommitdiff
path: root/lld/MachO/LTO.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/MachO/LTO.h')
-rw-r--r--lld/MachO/LTO.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/MachO/LTO.h b/lld/MachO/LTO.h
index 2577374590b7..d64016fb588c 100644
--- a/lld/MachO/LTO.h
+++ b/lld/MachO/LTO.h
@@ -10,6 +10,7 @@
#define LLD_MACHO_LTO_H
#include "llvm/ADT/SmallString.h"
+#include "llvm/Support/MemoryBuffer.h"
#include <memory>
#include <vector>
@@ -35,6 +36,7 @@ public:
private:
std::unique_ptr<llvm::lto::LTO> ltoObj;
std::vector<llvm::SmallString<0>> buf;
+ std::vector<std::unique_ptr<llvm::MemoryBuffer>> files;
};
} // namespace macho