https://bugs.llvm.org/show_bug.cgi?id=35543
Bug ID: 35543
Summary: Assertion `Ty && "Trying to add a type that doesn't
exist?"' failed on Windows self host
Product: new-bugs
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: russell_gal...@sn.scee.net
CC: llvm-bugs@lists.llvm.org
At r319883. Found building a Windows self host compiler with debug. Seen on
DeltaAlgorithm.cpp and other files.
Example reduced from DeltaAlgorithm.cpp
$ cat test.cpp
class A {
typedef void _Nodeptr;
};
class B {
A FailedTestsCache;
bool m_fn1();
};
bool B::m_fn1() {}
$ clang++ -cc1 -emit-obj -gcodeview -debug-info-kind=limited -dwarf-version=4
-x c++ test.cpp
test.cpp:8:18: warning: control reaches end of non-void function
bool B::m_fn1() {}
^
clang++: /home/gbgallor/git/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp:764: void
llvm::DwarfUnit::addType(llvm::DIE&, const llvm::DIType*,
llvm::dwarf::Attribute): Assertion `Ty && "Trying to add a type that doesn't
exist?"' 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