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: unassignedclangb...@nondot.org
          Reporter: apra...@apple.com
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
    Classification: Unclassified

See
> commit 2ba07641a3730952d139f831f38778ebe8538edc
> Author: Alex Lorenz <arpha...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to