Index: runtime/vm/cpuinfo_linux.cc |
diff --git a/runtime/vm/cpuinfo_linux.cc b/runtime/vm/cpuinfo_linux.cc |
index 8d76233194a59cb0ef9416dcb362f79ffb886af6..6f47be0a465a892593e8be0a547ebb0e491590d5 100644 |
--- a/runtime/vm/cpuinfo_linux.cc |
+++ b/runtime/vm/cpuinfo_linux.cc |
@@ -26,6 +26,7 @@ void CpuInfo::InitOnce() { |
fields_[kCpuInfoModel] = "model name"; |
fields_[kCpuInfoHardware] = "model name"; |
fields_[kCpuInfoFeatures] = "flags"; |
+ fields_[kCpuInfoArchitecture] = "CPU architecture"; |
method_ = kCpuInfoCpuId; |
CpuId::InitOnce(); |
#elif defined(HOST_ARCH_ARM) |
@@ -33,6 +34,7 @@ void CpuInfo::InitOnce() { |
fields_[kCpuInfoModel] = "model name"; |
fields_[kCpuInfoHardware] = "Hardware"; |
fields_[kCpuInfoFeatures] = "Features"; |
+ fields_[kCpuInfoArchitecture] = "CPU architecture"; |
method_ = kCpuInfoSystem; |
ProcCpuInfo::InitOnce(); |
#elif defined(HOST_ARCH_ARM64) |
@@ -40,6 +42,7 @@ void CpuInfo::InitOnce() { |
fields_[kCpuInfoModel] = "CPU implementer"; |
fields_[kCpuInfoHardware] = "CPU implementer"; |
fields_[kCpuInfoFeatures] = "Features"; |
+ fields_[kCpuInfoArchitecture] = "CPU architecture"; |
method_ = kCpuInfoSystem; |
ProcCpuInfo::InitOnce(); |
#elif defined(HOST_ARCH_MIPS) |
@@ -47,6 +50,7 @@ void CpuInfo::InitOnce() { |
fields_[kCpuInfoModel] = "cpu model"; |
fields_[kCpuInfoHardware] = "cpu model"; |
fields_[kCpuInfoFeatures] = "ASEs implemented"; |
+ fields_[kCpuInfoArchitecture] = "CPU architecture"; |
method_ = kCpuInfoSystem; |
ProcCpuInfo::InitOnce(); |
#else |