[PATCH] D45244: Add missing vtable anchors

Weiming Zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 00:43:43 PDT 2018


weimingz added a comment.

When I statically linking a project (built with RTTI) against LLVM OrcJIT (default built with no-RTTI), I got a couple of "undefined reference to type info" error.

Looks similar to  http://lists.llvm.org/pipermail/llvm-dev/2016-February/095671.html

However, I'm not sure where to put the definition of anchor() for ObjectMemoryBuffer class. It's used by ThinLTOCodeGenerator.cpp and MCJIT.cpp, which belong to different libs.


Repository:
  rL LLVM

https://reviews.llvm.org/D45244





More information about the llvm-commits mailing list