<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:zturner@google.com" title="Zachary Turner <zturner@google.com>"> <span class="fn">Zachary Turner</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Add a mode to clang to allow it to automatically test external layout"
   href="https://llvm.org/bugs/show_bug.cgi?id=25015">bug 25015</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>WONTFIX
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Add a mode to clang to allow it to automatically test external layout"
   href="https://llvm.org/bugs/show_bug.cgi?id=25015#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Add a mode to clang to allow it to automatically test external layout"
   href="https://llvm.org/bugs/show_bug.cgi?id=25015">bug 25015</a>
              from <span class="vcard"><a class="email" href="mailto:zturner@google.com" title="Zachary Turner <zturner@google.com>"> <span class="fn">Zachary Turner</span></a>
</span></b>
        <pre>Looked into this some more, adn it is caused by the fact that
-fdump-record-layouts-simple is fundamentally unable to guarantee idempotency
with -foverride-record-layout.  This is because in cc1 mode,
-fdump-record-layouts-simple doesn't dump any information about whether a class
has virtual functions or virtual bases or for that matter anything else that
might affect record layout.

A better solution is to add a flag to clang that will conceptually do what
these two operations do, but without goign through the intermediate step of
writing the file and reading it back in.  This would allow us to run the entire
suite of record layout tests with an external layout with just trivial changes
to the record layout tests, potentially leading to the discovery of many other
bugs with external layout.</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>