Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix x64 CFI generation (#21955)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvochko authored and jkotas committed Jan 12, 2019
1 parent 37b9d85 commit c4e4036
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jit/unwind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ void Compiler::unwindPushPopCFI(regNumber reg)

if (relOffsetMask & genRegMask(reg))
{
#ifndef _TARGET_ARM_
createCfiCode(func, cbProlog, CFI_ADJUST_CFA_OFFSET, DWARF_REG_ILLEGAL, REGSIZE_BYTES);
#endif
createCfiCode(func, cbProlog, CFI_REL_OFFSET, mapRegNumToDwarfReg(reg));
}
else
Expand Down

0 comments on commit c4e4036

Please sign in to comment.