<html>
    <head>
      <base href="https://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_NEW "
   title="NEW --- - r293518 broke module self-host"
   href="https://llvm.org/bugs/show_bug.cgi?id=31860">31860</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>r293518 broke module self-host
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

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

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

        <tr>
          <th>Component</th>
          <td>Modules
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>aprantl@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>See
<span class="quote">> commit 2ba07641a3730952d139f831f38778ebe8538edc
> Author: Alex Lorenz <<a href="mailto:arphaman@gmail.com">arphaman@gmail.com</a>>
> Date:   Wed Feb 1 10:52:02 2017 +0000

>     Revert r293518 as it caused module linking error in clang-reorder-fields
>     
>     This commit reverts "r293518 - [ASTMatchers] Sprinkle some constexpr on the
>     global matcher constructors" because after it a buildbot that builds clang
>     stage 2 with modules failed to link clang-reorder-fields.
>     
>     
>     git-svn-id: <a href="https://llvm.org/svn/llvm-project/cfe/trunk@293759">https://llvm.org/svn/llvm-project/cfe/trunk@293759</a> </span >

Link to the failing linux-selfhost-modules bot:
<a href="http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules/builds/2728">http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules/builds/2728</a>

In ReorderFieldsAction.cpp
The linkage of
<span class="quote">> @_ZN5clang12ast_matchersL10recordDeclE = internal constant %"class.clang::ast_matchers::internal::VariadicDynCastAllOfMatcher.916" undef, align 1</span >
changed to 

<span class="quote">> @_ZN5clang12ast_matchersL10recordDeclE = external global %"class.clang::ast_matchers::internal::VariadicDynCastAllOfMatcher.847", align 1</span >

We should figure out what went wrong there.</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>