<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Normalise paths on insertion into thin archive"
   href="https://bugs.llvm.org/show_bug.cgi?id=39023">39023</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Normalise paths on insertion into thin archive
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>llvm-ar
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jh7370.2008@my.bristol.ac.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Currently, for thin archives, llvm-ar simply takes the path specified on the
command-line, and adds the file with the name matching the path, with no
normalisation or anything. GNU ar normalises the file path added. Normalising
the path would make the output from 't' simpler, and would also shorten the
length of any strings in the archive's filename table:

<span class="quote">> ar rcT test1.a ./dir/../test.o
> ar t test1.a</span >
test.o

<span class="quote">> llvm-ar rc test2.a ./dir/../test.o
> llvm-ar t test2.a</span >
/./dir/../test.o          # see <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - 't' modifier does not work well with thin archives"
   href="show_bug.cgi?id=39020">bug 39020</a> regarding the leading '/'</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>