[PATCH] D45244: Add missing vtable anchors

Weiming Zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 9 16:59:08 PDT 2018


weimingz added a comment.

If I choose to define ObjectMemoryBuffer::anchor() in MCJIT.cpp (the module that uses ObjectMemoryBuffer), then I got error like:
../../lib/libLLVMLTO.a(ThinLTOCodeGenerator.cpp.o): In function `ObjectMemoryBuffer':
llvm/ExecutionEngine/ObjectMemoryBuffer.h:41: undefined reference to `vtable for llvm::ObjectMemoryBuffer'


Repository:
  rL LLVM

https://reviews.llvm.org/D45244





More information about the llvm-commits mailing list