<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [MetaData] Verifier complaining "All nodes should be resolved!""
   href="http://llvm.org/bugs/show_bug.cgi?id=21941">21941</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[MetaData] Verifier complaining "All nodes should be resolved!"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>ASSIGNED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>DebugInfo
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dexonsmith@apple.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mcrosier@codeaurora.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu, mcrosier@codeaurora.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Our 12/10 nightlies are reporting a fatal error:
--------------------------------------------------------------------------
All nodes should be resolved!
metadata !27
All nodes should be resolved!
metadata !26
All nodes should be resolved!
metadata !25
All nodes should be resolved!
metadata !24
All nodes should be resolved!
metadata !21
All nodes should be resolved!
metadata !37
All nodes should be resolved!
metadata !35
All nodes should be resolved!
metadata !43
All nodes should be resolved!
metadata !41
fatal error: error in backend: Broken function found, compilation aborted!
--------------------------------------------------------------------------


Reduced test case:
--------------------------------------------------------------------------
$> more test.cpp
int main(int argc, char *argv[]) {
  struct N {
  };
  struct V {
    int vi;
  };
  struct B : N, virtual V {
  };
  struct C : N, virtual V {
  };
  struct D : N, virtual V {
  };
  struct E : B, C, D {
  };
  E e;
}
--------------------------------------------------------------------------

Reproduce with:
clang "-cc1" "-triple" "aarch64--linux-gnu" "-emit-obj" "-disable-free"
"-main-file-name" "test.cpp" "-static-define" "-mrelocation-model" "static"
"-mthread-model" "posix" "-mdisable-fp-elim" "-fmath-errno" "-masm-verbose"
"-mconstructor-aliases" "-fuse-init-array" "-target-cpu" "cortex-a53"
"-target-feature" "+neon" "-target-feature" "+crc" "-target-feature" "+crypto"
"-target-abi" "aapcs" "-g" "-dwarf-column-info" "-D" "__arm__" "-D"
"__extern_always_inline=inline" "-O2" "-trigraphs" "-fdeprecated-macro"
"-ferror-limit" "19" "-fmessage-length" "267" "-mstackrealign"
"-fallow-half-arguments-and-returns" "-fno-signed-char" "-fobjc-runtime=gcc"
"-fcxx-exceptions" "-fexceptions" "-fdiagnostics-show-option"
"-fcolor-diagnostics" "-vectorize-loops" "-vectorize-slp" "-x" "c++" "test.cpp"</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>