summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ObjectYAML
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-10-31 11:05:47 +0100
committerPavel Labath <pavel@labath.sk>2019-10-31 11:20:46 +0100
commite9430231accacdb872bc4c82feb9a6a64d57941b (patch)
tree08a934427f305b606e0d2192d6ef488df42cc84b /llvm/unittests/ObjectYAML
parentb32bae6f760896b0e285fb6967061e8cd281a8c1 (diff)
downloadbcm5719-llvm-e9430231accacdb872bc4c82feb9a6a64d57941b.tar.gz
bcm5719-llvm-e9430231accacdb872bc4c82feb9a6a64d57941b.zip
minidump: Add an "arm64" constant
This is the "official" constant for arm64. We also have another constant for arm64 (called BP_ARM64), which was used by breakpad while there was no official constant for arm64 available.
Diffstat (limited to 'llvm/unittests/ObjectYAML')
-rw-r--r--llvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp b/llvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp
index ca7fff13d0a..a3c9e7ef18e 100644
--- a/llvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp
+++ b/llvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp
@@ -33,7 +33,7 @@ TEST(MinidumpYAML, Basic) {
--- !minidump
Streams:
- Type: SystemInfo
- Processor Arch: BP_ARM64
+ Processor Arch: ARM64
Platform ID: Linux
CPU:
CPUID: 0x05060708
@@ -53,7 +53,7 @@ Streams:
auto ExpectedSysInfo = File.getSystemInfo();
ASSERT_THAT_EXPECTED(ExpectedSysInfo, Succeeded());
const SystemInfo &SysInfo = *ExpectedSysInfo;
- EXPECT_EQ(ProcessorArchitecture::BP_ARM64, SysInfo.ProcessorArch);
+ EXPECT_EQ(ProcessorArchitecture::ARM64, SysInfo.ProcessorArch);
EXPECT_EQ(OSPlatform::Linux, SysInfo.PlatformId);
EXPECT_EQ(0x05060708u, SysInfo.CPU.Arm.CPUID);
OpenPOWER on IntegriCloud