<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If we are pulling in the expression parser, that would explain our issues. If this currently happens in lldb-server we need to add LLVMRuntimeDyld to the link libraries. I know some people at Google have looked into getting lldb-server to link against as little as possible, and maybe this is just how things are for the time being. We should verify that. It would be nice if lldb-server didn't link against the expression parser if possible.<div class=""><br class=""></div><div class="">Greg</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 28, 2017, at 9:56 AM, Peeter Joot <<a href="mailto:peeterjoot@protonmail.com" class="">peeterjoot@protonmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Greg,<br class=""></div><div class=""><br class=""></div><div class="">IRExecutionUnit.cpp looks like the origin of at least some of the undefined symbols:<br class=""></div><div class=""><br class=""></div><p class="p1"><span class="s1">.../llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h:61: undefined reference to `vtable for llvm::RTDyldMemoryManager' <span class="Apple-converted-space">                                                 </span></span><br class=""></p><p class="p1"><span class="s1">.../llvm/include/llvm/ExecutionEngine/JITSymbol.h:223: undefined reference to `vtable for llvm::JITSymbolResolver'<span class="Apple-converted-space">                                                             </span></span><br class=""></p><p class="p1"><span class="s1">.../llvm/include/llvm/ExecutionEngine/RuntimeDyld.h:96: undefined reference to `vtable for llvm::RuntimeDyld::MemoryManager'<span class="Apple-converted-space">                                                   </span></span><br class=""></p><p class="p1"><span class="s1">lib/liblldbExpression.a(IRExecutionUnit.cpp.o):(.data.rel.ro+0x90): undefined reference to `llvm::RTDyldMemoryManager::deregisterEHFrames()'</span><br class=""></p><p class="p1"><span class="s1">lib/liblldbExpression.a(IRExecutionUnit.cpp.o):(.data.rel.ro+0xa8): undefined reference to `llvm::RuntimeDyld::MemoryManager::anchor()'</span><br class=""></p><p class="p1"><span class="s1">lib/liblldbExpression.a(IRExecutionUnit.cpp.o):(.data.rel.ro+0x118): undefined reference to `llvm::JITSymbolResolver::anchor()'</span><br class=""></p><p class="p1"><span class="s1">lib/liblldbExpression.a(IRExecutionUnit.cpp.o):(.data.rel.ro._ZTVN4llvm18MCJITMemoryManagerE[_ZTVN4llvm18MCJITMemoryManagerE]+0x60): undefined reference to `llvm::RuntimeDyld:</span><br class=""></p><p class="p1"><span class="s1">:MemoryManager::anchor()'</span><br class=""></p><div class=""><br class=""></div><div class=""><span class="s1">there are a couple of undefined vtable references in headers (also above), but it's not clear to me if these also neccessarily come from IRExectionUnix.cpp.</span><br class=""></div><div class=""><br class=""></div><div class=" protonmail_signature_block"><div class="protonmail_signature_block-user "><div class="">--<br class=""></div><div class="">Peeter<br class=""></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br class=""></div></div><div class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>