summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorMandeep Singh Grang <mgrang@codeaurora.org>2017-07-20 20:20:00 +0000
committerMandeep Singh Grang <mgrang@codeaurora.org>2017-07-20 20:20:00 +0000
commitd41ac895bb810d0b15844773cbecbf394d914010 (patch)
treeef6cc06921b3df30bfb8dbc4ae6a0427193f44d5 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent631f6b888c50276450fee8b9ef129f37f83fc5a1 (diff)
[COFF, ARM64, CodeView] Add support to emit CodeView debug info for ARM64 COFF
Reviewers: compnerd, ruiu, rnk, zturner Reviewed By: rnk Subscribers: majnemer, aemerson, aprantl, javed.absar, kristof.beyls, llvm-commits Differential Revision: https://reviews.llvm.org/D35518 llvm-svn: 308665
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 a81d56e9618b..b5370e53f293 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");