<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Assertion `Ty && "Trying to add a type that doesn't exist?"' failed on Windows self host"
href="https://bugs.llvm.org/show_bug.cgi?id=35543">35543</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion `Ty && "Trying to add a type that doesn't exist?"' failed on Windows self host
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>russell_gallop@sn.scee.net
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>