http://bugs.llvm.org/show_bug.cgi?id=32383

            Bug ID: 32383
           Summary: Assertion `PartiallyIncomplete || ElementSize ==
                    (Ty->getSizeInBits() / 8)' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedb...@nondot.org
          Reporter: pe...@pcc.me.uk
                CC: llvm-bugs@lists.llvm.org

$ cat 1.cc
# 1 "" 3
typedef union {
}

YYSTYPE;
void fn1() { YYSTYPE a[1]; }
$ cat 2.cc
union YYSTYPE {
  YYSTYPE *yylval_r;
} a;
$ clang-cl /Zi -flto -c 1.cc
$ clang-cl /Zi -flto -c 2.cc
$ llvm-link -o - 2.obj 1.obj | llc -o /dev/null
[...] llvm::codeview::TypeIndex llvm::CodeViewDebug::lowerTypeArray(const
llvm::DICompositeType *): Assertion `PartiallyIncomplete || ElementSize ==
(Ty->getSizeInBits() / 8)' failed.

-- 
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