mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 14:17:59 +00:00
Move virtual method out of line.
Should fix the MSVC build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214539 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ec9de4677a
commit
db11712170
@ -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
Block a user