<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 11/23/2011 2:18 AM, Ruben Van Boxem wrote:
    <blockquote
cite="mid:CALc40c-=5uBnJz-yRTcqKQbPPhFeE+LCwRPskFsURqOifmKYhg@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <div class="gmail_quote">
          <div>[snip]<br>
          </div>
          <div class="im">
            <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div><br>
              </div>
              <div>Should runtime libraries be installed as archives? .o
                files? .so files? (gasp) bitcode? Some mixture of these?
                What mixture, and how do we decide? I lean  toward .o
                files as bitcode where the linker supports it, normal .o
                files where it supports those, and .a files only as a
                fallback. Not very confident of these preferences
                though.</div>
            </blockquote>
          </div>
          <div><br>
            libraries -> .a/so files... They're target specific
            anyways, why even consider bitcode?<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Bitcode libraries allow their code to be inter-procedurally
    optimized by libLTO.  For example, we used to compile libstdc++ in
    llvm-gcc to bitcode; this allowed us to inline C++ standard library
    functions into the main program and perform optimizations such as
    dead code elimination, inter-procedural constant propagation, etc,
    etc.<br>
    <br>
    -- John T.<br>
    <br>
    <blockquote
cite="mid:CALc40c-=5uBnJz-yRTcqKQbPPhFeE+LCwRPskFsURqOifmKYhg@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <div class="gmail_quote">
          <div><br>
            Ruben<br>
            <br>
          </div>
          <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <br>
            _______________________________________________<br>
            cfe-dev mailing list<br>
            <a moz-do-not-send="true" href="mailto:cfe-dev@cs.uiuc.edu"
              target="_blank">cfe-dev@cs.uiuc.edu</a><br>
            <a moz-do-not-send="true"
              href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev"
              target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>