diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-04-29 22:04:55 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-04-29 22:04:55 +0000 |
commit | 167cb010a4b8fb105c2cded014e6a5e6eddcda88 (patch) | |
tree | 9fd01ed2759333930c3900aec25a84ecd64b9c8b /include/llvm | |
parent | 00121bb932ddbf026297f357c2d3cdf1414f628a (diff) | |
download | llvm-167cb010a4b8fb105c2cded014e6a5e6eddcda88.tar.gz llvm-167cb010a4b8fb105c2cded014e6a5e6eddcda88.tar.bz2 llvm-167cb010a4b8fb105c2cded014e6a5e6eddcda88.tar.xz |
Fix MSVC build broken by r207580
Seems MSVC wants to be able to codegen inline-definitions of virtual
functions even in TUs that don't define the key function - and it's well
within its rights to do so.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207581 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/ExecutionEngine/ExecutionEngine.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index 07a04154cd..7518c1e1d8 100644 --- a/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -222,10 +222,7 @@ public: /// needed by another object. /// /// MCJIT will take ownership of the ObjectFile. - virtual void addObjectFile(std::unique_ptr<object::ObjectFile> O) { - llvm_unreachable( - "ExecutionEngine subclass doesn't implement addObjectFile."); - } + virtual void addObjectFile(std::unique_ptr<object::ObjectFile> O); /// addArchive - Add an Archive to the execution engine. /// |