aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDwarf.cpp
diff options
context:
space:
mode:
authorLuke Cheeseman <luke.cheeseman@arm.com>2018-09-27 10:39:20 +0000
committerLuke Cheeseman <luke.cheeseman@arm.com>2018-09-27 10:39:20 +0000
commitf6844b307a5369ea934550ccb85b063d73a268ee (patch)
treefb3253db58d50727e714d4cc86bffd047b9b3226 /llvm/lib/MC/MCDwarf.cpp
parentdababf70e2df03214b19c0bfaeb6091923171ef6 (diff)
downloadllvm-f6844b307a5369ea934550ccb85b063d73a268ee.zip
llvm-f6844b307a5369ea934550ccb85b063d73a268ee.tar.gz
llvm-f6844b307a5369ea934550ccb85b063d73a268ee.tar.bz2
Reapply changes reverted in r343114, lldb patch to follow shortly
llvm-svn: 343192
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index 7093446..2899242 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/lib/MC/MCDwarf.cpp
@@ -1332,6 +1332,10 @@ void FrameEmitterImpl::EmitCFIInstruction(const MCCFIInstruction &Instr) {
Streamer.EmitIntValue(dwarf::DW_CFA_GNU_window_save, 1);
return;
+ case MCCFIInstruction::OpNegateRAState:
+ Streamer.EmitIntValue(dwarf::DW_CFA_AARCH64_negate_ra_state, 1);
+ return;
+
case MCCFIInstruction::OpUndefined: {
unsigned Reg = Instr.getRegister();
Streamer.EmitIntValue(dwarf::DW_CFA_undefined, 1);