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 | 35907d8e23ddc8faf7d4bfbfaf5085e27e4bbd0d (patch) | |
| tree | f3e15e9e7cc52ea4ae85fbc91e8290459259a979 /llvm/include | |
| parent | 7a1e775a7e6c3c7c7c283253dd8be39ff7c6da92 (diff) | |
| download | bcm5719-llvm-35907d8e23ddc8faf7d4bfbfaf5085e27e4bbd0d.tar.gz bcm5719-llvm-35907d8e23ddc8faf7d4bfbfaf5085e27e4bbd0d.zip | |
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.
llvm-svn: 207581
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/ExecutionEngine/ExecutionEngine.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h b/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h index 07a04154cd2..7518c1e1d87 100644 --- a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/llvm/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. /// |

