diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2018-04-12 17:28:30 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2018-04-12 17:28:30 +0000 |
| commit | 4c5fa6be279c5a095e238548e8434be2ca36bb72 (patch) | |
| tree | 16b8b928e4338f99d2b23a1d303518eaf9583ab1 /llvm | |
| parent | 3865c69b84d745c8b59e86f4205cca584b0c9afa (diff) | |
| download | bcm5719-llvm-4c5fa6be279c5a095e238548e8434be2ca36bb72.tar.gz bcm5719-llvm-4c5fa6be279c5a095e238548e8434be2ca36bb72.zip | |
[MCJIT] Remove the anchor from mcjit.
This is a layering violation. LTO shouldn't depend on MCJIT. The right
fix for this is moving the class somewhere else.
llvm-svn: 329929
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/ExecutionEngine/ObjectMemoryBuffer.h | 1 | ||||
| -rw-r--r-- | llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/ObjectMemoryBuffer.h b/llvm/include/llvm/ExecutionEngine/ObjectMemoryBuffer.h index 03567530fb3..0f00ad006a7 100644 --- a/llvm/include/llvm/ExecutionEngine/ObjectMemoryBuffer.h +++ b/llvm/include/llvm/ExecutionEngine/ObjectMemoryBuffer.h @@ -56,7 +56,6 @@ public: private: SmallVector<char, 0> SV; std::string BufferName; - void anchor() override; }; } // namespace llvm diff --git a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp index eb99312bb73..7b3acb830e0 100644 --- a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp +++ b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp @@ -28,8 +28,6 @@ using namespace llvm; -void llvm::ObjectMemoryBuffer::anchor() {} - namespace { static struct RegisterJIT { |

