summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-04-29 22:04:55 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-04-29 22:04:55 +0000
commit35907d8e23ddc8faf7d4bfbfaf5085e27e4bbd0d (patch)
treef3e15e9e7cc52ea4ae85fbc91e8290459259a979 /llvm/include
parent7a1e775a7e6c3c7c7c283253dd8be39ff7c6da92 (diff)
downloadbcm5719-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.h5
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.
///
OpenPOWER on IntegriCloud