[llvm-bugs] [Bug 35543] New: Assertion `Ty && "Trying to add a type that doesn't exist?"' failed on Windows self host
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Dec 6 03:54:12 PST 2017
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: unassignedbugs at nondot.org
Reporter: russell_gallop at sn.scee.net
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171206/c961b3a0/attachment.html>
More information about the llvm-bugs
mailing list