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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to