summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff options
context:
space:
mode:
authorDiogo Sampaio <diogo.sampaio@arm.com>2019-12-30 15:43:32 +0000
committerDiogo Sampaio <diogo.sampaio@arm.com>2019-12-30 15:59:48 +0000
commitf33fd9648c442a23f863e03ea1c806da15278fd1 (patch)
treee34f1907fc263ac5c822e9c89ac53b116218bb2e /llvm/lib/Target/ARM/ARMAsmPrinter.cpp
parent18240c3cd632521f95f2ddd08ecc4f7cf0efe3c8 (diff)
downloadbcm5719-llvm-f33fd9648c442a23f863e03ea1c806da15278fd1.tar.gz
bcm5719-llvm-f33fd9648c442a23f863e03ea1c806da15278fd1.zip
[ARM][Thumb][FIX] Add unwinding information to t4
Summary: Add missing part of patch D71361. Now that the stack-frame can be operated using a addw/subw instruction, they should appear in the unwinding list. Reviewers: dmgreen, efriedma Reviewed By: dmgreen Subscribers: kristof.beyls, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72000
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMAsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
index ed0969fa625..d18084901e4 100644
--- a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
@@ -1170,10 +1170,12 @@ void ARMAsmPrinter::EmitUnwindingInstruction(const MachineInstr *MI) {
break;
case ARM::ADDri:
case ARM::t2ADDri:
+ case ARM::t2ADDri12:
Offset = -MI->getOperand(2).getImm();
break;
case ARM::SUBri:
case ARM::t2SUBri:
+ case ARM::t2SUBri12:
Offset = MI->getOperand(2).getImm();
break;
case ARM::tSUBspi:
OpenPOWER on IntegriCloud