summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-03-18 12:58:11 (GMT)
committerBrad King <brad.king@kitware.com>2015-03-18 12:58:11 (GMT)
commit0e8325db66c3be268321aa7b274fbcd9109174b3 (patch)
treef8798c46127a5a112b4ca128537ed60461ed4a7b /Source/kwsys/SystemInformation.cxx
parenta5cab2e7391df8d2072f1083c075a69bc746c7aa (diff)
parentbc67dbede991be9238e8a102bfb026054b48d83d (diff)
downloadCMake-0e8325db66c3be268321aa7b274fbcd9109174b3.zip
CMake-0e8325db66c3be268321aa7b274fbcd9109174b3.tar.gz
CMake-0e8325db66c3be268321aa7b274fbcd9109174b3.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r--Source/kwsys/SystemInformation.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index 9c7ceee..b0434f4 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -1234,6 +1234,7 @@ void StacktraceSignalHandler(
case ILL_ILLTRP:
oss << "illegal trap";
+ break;
case ILL_PRVOPC:
oss << "privileged opcode";
@@ -1823,6 +1824,7 @@ const char * SystemInformationImplementation::GetVendorID()
return "Motorola";
case HP:
return "Hewlett-Packard";
+ case UnknownManufacturer:
default:
return "Unknown Manufacturer";
}
@@ -3064,6 +3066,12 @@ bool SystemInformationImplementation::RetrieveClassicalCPUIdentity()
case NSC:
this->ChipID.ProcessorName = "Cx486SLC \\ DLC \\ Cx486S A-Step";
break;
+
+ case Sun:
+ case IBM:
+ case Motorola:
+ case HP:
+ case UnknownManufacturer:
default:
this->ChipID.ProcessorName = "Unknown family"; // We cannot identify the processor.
return false;