summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index a81d56e9618..b5370e53f29 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -611,6 +611,8 @@ static CPUType mapArchToCVCPUType(Triple::ArchType Type) {
return CPUType::X64;
case Triple::ArchType::thumb:
return CPUType::Thumb;
+ case Triple::ArchType::aarch64:
+ return CPUType::ARM64;
default:
report_fatal_error("target architecture doesn't map to a CodeView "
"CPUType");
OpenPOWER on IntegriCloud