projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the correct section types on Solaris for unwind data on both x86 and x86-64.
[oota-llvm.git]
/
lib
/
Support
/
SourceMgr.cpp
diff --git
a/lib/Support/SourceMgr.cpp
b/lib/Support/SourceMgr.cpp
index 5a6090d05e3fd90c0a3c5e61f2c6168e8e0a4c31..bbe36b260b9d489a3ed5c63eb516260d5302468d 100644
(file)
--- a/
lib/Support/SourceMgr.cpp
+++ b/
lib/Support/SourceMgr.cpp
@@
-244,7
+244,6
@@
void SMDiagnostic::print(const char *ProgName, raw_ostream &S) const {
}
switch (Kind) {
- default: assert(0 && "Unknown diagnostic kind");
case SourceMgr::DK_Error: S << "error: "; break;
case SourceMgr::DK_Warning: S << "warning: "; break;
case SourceMgr::DK_Note: S << "note: "; break;