projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reapply part of r237975, "Fix Clang -Wmissing-override warning", except for DIContext...
[oota-llvm.git]
/
lib
/
ExecutionEngine
/
RuntimeDyld
/
RuntimeDyldELF.cpp
diff --git
a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index c22636cc6b3c9c8d80368e5a9c4a67d1c8409f33..95421b35db5cf4c319340384a5a4bea35a0d2101 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@
-104,16
+104,15
@@
void DyldELFObject<ELFT>::updateSymbolAddress(const SymbolRef &SymRef,
sym->st_value = static_cast<addr_type>(Addr);
}
sym->st_value = static_cast<addr_type>(Addr);
}
-class LoadedELFObjectInfo : public RuntimeDyld::LoadedObjectInfo {
+class LoadedELFObjectInfo
+ : public RuntimeDyld::LoadedObjectInfoHelper<LoadedELFObjectInfo> {
public:
LoadedELFObjectInfo(RuntimeDyldImpl &RTDyld, unsigned BeginIdx,
unsigned EndIdx)
public:
LoadedELFObjectInfo(RuntimeDyldImpl &RTDyld, unsigned BeginIdx,
unsigned EndIdx)
-
: RuntimeDyld::LoadedObjectInfo
(RTDyld, BeginIdx, EndIdx) {}
+
: LoadedObjectInfoHelper
(RTDyld, BeginIdx, EndIdx) {}
OwningBinary<ObjectFile>
getObjectForDebug(const ObjectFile &Obj) const override;
OwningBinary<ObjectFile>
getObjectForDebug(const ObjectFile &Obj) const override;
-
- RuntimeDyld::LoadedObjectInfo *clone() const { return new LoadedELFObjectInfo(*this); }
};
template <typename ELFT>
};
template <typename ELFT>