[llvm-bugs] [Bug 31860] New: r293518 broke module self-host

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 3 15:06:21 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=31860

            Bug ID: 31860
           Summary: r293518 broke module self-host
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: aprantl at apple.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

See
> commit 2ba07641a3730952d139f831f38778ebe8538edc
> Author: Alex Lorenz <arphaman at gmail.com>
> 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: https://llvm.org/svn/llvm-project/cfe/trunk@293759 

Link to the failing linux-selfhost-modules bot:
http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules/builds/2728

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

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

We should figure out what went wrong there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170203/9550722b/attachment.html>


More information about the llvm-bugs mailing list