<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br class="">
<blockquote type="cite"
cite="mid:FDC45EED-CC8A-466D-9154-C5B7D343DB88@apple.com">
<div>
<blockquote type="cite" class="">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<blockquote type="cite"
cite="mid:6F1AE09F-2320-4A96-9C99-3F96ADBD6955@apple.com"
class="">
<div class="">
<div class="">
<blockquote type="cite" class="">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class=""><font class="" size="+1"><tt
class="">(lldb) b
SimpleStreamChecker.cpp:132</tt><tt
class=""><br class="">
</tt><tt class="">Breakpoint 1: no
locations (pending).</tt><tt class=""><br
class="">
</tt><tt class="">WARNING: Unable to
resolve breakpoint to any actual
locations.</tt><tt class=""><br class="">
</tt></font></p>
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">This is also weird. If lldb replies
with “Unable to resolve breakpoint”, it means
that, well, it could not resolve the breakpoint.</div>
<div class="">And yet it does stop at a breakpoint
(much) later on.</div>
</div>
</div>
</blockquote>
My build uses dynamically linked libraries, and the symbol
is not available when the related library isn't loaded.<br
class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>I think that is your problem.</div>
</div>
</blockquote>
Any idea on how to fix it?<br>
<blockquote type="cite"
cite="mid:FDC45EED-CC8A-466D-9154-C5B7D343DB88@apple.com">
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class=""> <br
class="">
When I use the default build which uses statically linked
libraries, it becomes much slower, with a huge clang
program that is 1.5G without a machine target.<br class="">
</div>
</div>
</blockquote>
<br class="">
</div>
<div>Is 1.5GB a problem though?</div>
<div>In my experience “gold” linker on Linux should be performant
enough.</div>
<br class="">
</blockquote>
I'm not sure. But it takes more than 30s to hit the breakpoint with
the statically linked library.<br>
<br>
</body>
</html>