[llvm-bugs] [Bug 34528] New: [Modules TS] Assertion in lib/AST/Decl.cpp:1392

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 8 09:07:19 PDT 2017


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

            Bug ID: 34528
           Summary: [Modules TS] Assertion in lib/AST/Decl.cpp:1392
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: boris at codesynthesis.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Created attachment 19121
  --> https://bugs.llvm.org/attachment.cgi?id=19121&action=edit
Reproducing script.

Something recent (past ~2 weeks) causes the following assertion on pretty much
any mildly non-trivial Modules TS project for me:

lib/AST/Decl.cpp:1392: clang::LinkageInfo
clang::LinkageComputer::getLVForDecl(const clang::NamedDecl*,
clang::LVComputationKind): Assertion `!Old || Old->getCachedLinkage() ==
D->getCachedLinkage()' failed.

Reproducer is attached.

-- 
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/20170908/49ed3f06/attachment.html>


More information about the llvm-bugs mailing list