<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="+1">I tried that git monorepo method, but got the
        same slowdown about 21 seconds as before with either gold or
        lldb and dynamic linking. It's still slower with the default
        static linking.</font><br>
    </p>
    <pre class="moz-signature" cols="72">Love,
Lou

</pre>
    <div class="moz-cite-prefix">On 10/03/2018 02:46 PM, George
      Karpenkov wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:FBEE7C33-CA65-4300-9F7C-6B25E760B15A@apple.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      Hi Lou,
      <div class=""><br class="">
      </div>
      <div class="">I find it easiest to just follow the guide at</div>
      <div class=""><br class="">
      </div>
      <div class=""><a
href="https://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo"
          class="" moz-do-not-send="true">https://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo</a></div>
      <div class=""><br class="">
      </div>
      <div class="">specify the projects you need (probably
        “clang;libcxx;libcxxabi”), set the linker to gold and not
        customize anything else.</div>
      <div class="">If you do that, do you still hit the slowdown?</div>
      <div class=""><br class="">
      </div>
      <div class="">George<br class="">
        <div><br class="">
          <blockquote type="cite" class="">
            <div class="">On Oct 3, 2018, at 2:25 PM, Lou Wynn <<a
                href="mailto:lewisurn@gmail.com" class=""
                moz-do-not-send="true">lewisurn@gmail.com</a>> wrote:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta http-equiv="Content-Type" content="text/html;
                charset=utf-8" class="">
              <div text="#000000" bgcolor="#FFFFFF" class=""> <br
                  class="">
                <blockquote type="cite"
                  cite="mid:FDC45EED-CC8A-466D-9154-C5B7D343DB88@apple.com"
                  class="">
                  <div class="">
                    <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 class=""><br class="">
                    </div>
                    <div class="">I think that is your problem.</div>
                  </div>
                </blockquote>
                Any idea on how to fix it?<br class="">
                <blockquote type="cite"
                  cite="mid:FDC45EED-CC8A-466D-9154-C5B7D343DB88@apple.com"
                  class="">
                  <div class=""><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 class="">Is 1.5GB a problem though?</div>
                  <div class="">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
                  class="">
                <br class="">
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br>
  </body>
</html>