forked from OSchip/llvm-project
Move virtual method out of line.
Should fix the MSVC build. llvm-svn: 214539
This commit is contained in:
parent
7684618401
commit
acfd62899f
|
@ -196,9 +196,7 @@ public:
|
|||
/// resolve external symbols in objects it is loading. If a symbol is found
|
||||
/// in the Archive the contained object file will be extracted (in memory)
|
||||
/// and loaded for possible execution.
|
||||
virtual void addArchive(std::unique_ptr<object::Archive> A) {
|
||||
llvm_unreachable("ExecutionEngine subclass doesn't implement addArchive.");
|
||||
}
|
||||
virtual void addArchive(std::unique_ptr<object::Archive> A);
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
||||
|
|
|
@ -125,6 +125,10 @@ void ExecutionEngine::addObjectFile(std::unique_ptr<object::ObjectFile> O) {
|
|||
llvm_unreachable("ExecutionEngine subclass doesn't implement addObjectFile.");
|
||||
}
|
||||
|
||||
void ExecutionEngine::addArchive(std::unique_ptr<object::Archive> A) {
|
||||
llvm_unreachable("ExecutionEngine subclass doesn't implement addArchive.");
|
||||
}
|
||||
|
||||
bool ExecutionEngine::removeModule(Module *M) {
|
||||
for(SmallVectorImpl<Module *>::iterator I = Modules.begin(),
|
||||
E = Modules.end(); I != E; ++I) {
|
||||
|
|
Loading…
Reference in New Issue