[Lldb-commits] [PATCH] D31367: Expression: add missing linkage to RuntimeDyld component

Joerg Sonnenberger via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 30 12:37:41 PDT 2017

On Thu, Mar 30, 2017 at 06:00:15PM +0000, Chris Bieneman via Phabricator wrote:
> ExecutionEngine headers directly reference symbols from RuntimeDyld,
> so we should enforce a requirement that anyone using ExeuctionEngine
> also link RuntimeDyld. This works today as expected for static archive
> builds. It is only broken with `BUILD_SHARED_LIBS`.

Welcome to the brave new world of newer ELF linkers. Just because a
library pulls in a symbol into the namespace doesn't mean you can just
use that symbol. They want you to explicitly specify the dependency...
This does happen for static archives though.


More information about the lldb-commits mailing list