[llvm-bugs] [Bug 38531] New: Assertion failure in `setInvalidDecl()` when using modules

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 11 19:14:29 PDT 2018


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

            Bug ID: 38531
           Summary: Assertion failure in `setInvalidDecl()` when using
                    modules
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: andrewjcg at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Created attachment 20683
  --> https://bugs.llvm.org/attachment.cgi?id=20683&action=edit
Source setup with command reproducing bug.

Getting a clang compiler assertion failure in `clang::Decl::setInvalidDecl()`
when using modules and a lot of template meta-programming.  Apologies for the
complicated repro that I attached -- I tried to reduce this but wasn't able to
break the dependency on libstdc++ headers or simplify the template code.  This
crash originally came from using
https://github.com/facebook/folly/blob/master/folly/Function.h.

-- 
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/20180812/623146e5/attachment.html>


More information about the llvm-bugs mailing list