<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - crash on -cc1 -verify with frontend warnings"
href="http://llvm.org/bugs/show_bug.cgi?id=21911">21911</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>crash on -cc1 -verify with frontend warnings
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nicholas@mxc.ca
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Reproduce:
clang -cc1 -ashdfk -verify
0 clang 0x00000000041db7eb llvm::sys::PrintStackTrace(_IO_FILE*) +
38
1 clang 0x00000000041dba81
2 clang 0x00000000041da731
3 libpthread.so.0 0x00007f36c98a78d0
4 clang 0x00000000011eac2c
5 clang 0x000000000145a0c9
6 clang 0x000000000144cfd5
7 clang 0x0000000002bce522
8 clang 0x0000000002bcce1a
clang::DiagnosticsEngine::DiagState::getOrAddMapping(unsigned int) + 112
9 clang 0x0000000002bcd833
clang::DiagnosticIDs::getDiagnosticSeverity(unsigned int,
clang::SourceLocation, clang::DiagnosticsEngine const&) const + 133
10 clang 0x0000000002bcd7a4
clang::DiagnosticIDs::getDiagnosticLevel(unsigned int, clang::SourceLocation,
clang::DiagnosticsEngine const&) const + 146
11 clang 0x0000000002bc70b1
clang::DiagnosticsEngine::EmitCurrentDiagnostic(bool) + 163
[...]
The frontend would like to emit that it hasn't heard of "-ashdfk" but the
VerifyDiagnosticConsumer isn't yet ready to handle diagnostics and crashes.</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>