[LLVMbugs] [Bug 13629] New: Assertion failed when using -Wno-ignored-attributes : Cannot map errors into warnings!"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Aug 17 13:41:43 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13629
Bug #: 13629
Summary: Assertion failed when using -Wno-ignored-attributes :
Cannot map errors into warnings!"
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Doesn't even need a source file (but happens with one too):
hummer:src thakis$ third_party/llvm-build/Release+Asserts/bin/clang
-Wno-ignored-attributes
Assertion failed: ((Diags->isBuiltinWarningOrExtension(Diag) || (Map ==
diag::MAP_FATAL || Map == diag::MAP_ERROR)) && "Cannot map errors into
warnings!"), function setDiagnosticMapping, file
/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/tools/clang/lib/Basic/Diagnostic.cpp,
line 167.
0 clang 0x00000001015c33b2 PrintStackTrace(void*) + 34
1 clang 0x00000001015c37f4 SignalHandler(int) + 628
2 libSystem.B.dylib 0x00007fff84c871ba _sigtramp + 26
3 libSystem.B.dylib 0x2f736c6f6f742f6d _sigtramp + 3937123789
4 clang 0x000000010004cc26 abort + 22
5 clang 0x000000010004cc01 __assert_rtn + 81
6 clang 0x0000000100aef9be
clang::DiagnosticsEngine::setDiagnosticMapping(unsigned int,
clang::diag::Mapping, clang::SourceLocation) + 1838
7 clang 0x0000000100aefad1
clang::DiagnosticsEngine::setDiagnosticGroupMapping(llvm::StringRef,
clang::diag::Mapping, clang::SourceLocation) + 113
8 clang 0x00000001000e2340
clang::ProcessWarningOptions(clang::DiagnosticsEngine&,
clang::DiagnosticOptions const&) + 1152
9 clang 0x0000000100055910 main + 1328
10 clang 0x000000010004f964 start + 52
Stack dump:
0. Program arguments: third_party/llvm-build/Release+Asserts/bin/clang
-Wno-ignored-attributes
Illegal instruction
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list