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

            Bug ID: 41233
           Summary: Assertion in
                    clang::CodeGen::CGRecordLayout::getLLVMFieldNo for
                    Swift code importing C library
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

As per report at https://bugs.swift.org/browse/SR-9589:

Assertion is:

unsigned int clang::CodeGen::CGRecordLayout::getLLVMFieldNo(const
clang::FieldDecl *) const: Assertion `FieldInfo.count(FD) && "Invalid field for
record!"' failed.

Brief test case reproducing issue at
https://github.com/tokyovigilante/WaylandTest (requires running under a Wayland
compositor, I'm using Fedora 30 with Sway but Gnome Shell should also work).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to