<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 - Output files are fragmented"
   href="https://bugs.llvm.org/show_bug.cgi?id=46050">46050</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Output files are fragmented
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>10.0
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>lev-sch@mail.ru
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23525" name="attach_23525" title="files to reproduce">attachment 23525</a> <a href="attachment.cgi?id=23525&action=edit" title="files to reproduce">[details]</a></span>
files to reproduce

Hello.

I've found that clang++.exe produces fragmented output files.
Average fragmentation is 3 fragments per file.

Please make output without fragmentation. It helps to get high compilation
speed.

Steps to reproduce on windows platform:
1. unpack attachment
2. fill configuration area in run.cmd
3. start run.cmd
4. wait for all clang processes are created and wait for they exit
5. use "getFileFragmentation.cmd path_to_out" command to get fragmentation info
for output folder. (getFileFragmentation.cmd can be added to
%APPDATA%\Microsoft\Windows\SendTo)

Solution described is here
<a href="https://sourceforge.net/p/sevenzip/feature-requests/981/">https://sourceforge.net/p/sevenzip/feature-requests/981/</a>

<span class="quote">> D:\temp\clangFragmentation\out\f1.dep is in 4 fragments
> D:\temp\clangFragmentation\out\f1.o is in 2 fragments
> (...)

> Summary:
>      Number of files processed:      48
>      Number unsuccessfully procesed: 0
>      Average fragmentation       : 3 frags/file</span ></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>