[LLVMbugs] [Bug 21911] New: crash on -cc1 -verify with frontend warnings

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 13 15:46:18 PST 2014


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

            Bug ID: 21911
           Summary: crash on -cc1 -verify with frontend warnings
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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.

-- 
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/20141213/d47f49e6/attachment.html>


More information about the llvm-bugs mailing list