summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-01-23 22:25:47 +0000
committerReid Kleckner <reid@kleckner.net>2015-01-23 22:25:47 +0000
commit7b23b43bfe3c6c03ea27c80403322743779573a4 (patch)
treefb81f5c3755aff8822f03eeadaf9f11721f76dbd /llvm/lib
parent58e419593cfb8966b2f565962f34f012454fabce (diff)
downloadbcm5719-llvm-7b23b43bfe3c6c03ea27c80403322743779573a4.tar.gz
bcm5719-llvm-7b23b43bfe3c6c03ea27c80403322743779573a4.zip
Fix the MSVC build with the new Orc JIT APIs
llvm-svn: 226949
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h b/llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
index aea58575629..03289ed70b1 100644
--- a/llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
+++ b/llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
@@ -129,7 +129,7 @@ public:
setDataLayout(this->TM->getSubtargetImpl()->getDataLayout());
}
- void addModule(std::unique_ptr<Module> M) {
+ void addModule(std::unique_ptr<Module> M) override {
// If this module doesn't have a DataLayout attached then attach the
// default.
@@ -258,7 +258,7 @@ private:
const ObjListT &Objects,
const LoadedObjInfoListT &Infos) const {
M.UnfinalizedSections[H] = std::move(M.SectionsAllocatedSinceLastLoad);
- M.SectionsAllocatedSinceLastLoad = {};
+ M.SectionsAllocatedSinceLastLoad = SectionAddrSet{};
assert(Objects.size() == Infos.size() &&
"Incorrect number of Infos for Objects.");
for (unsigned I = 0; I < Objects.size(); ++I)
OpenPOWER on IntegriCloud