Skip to content

Commit

Permalink
Fix remote-unwind for TARGET_ARM crossdac (dotnet#44576)
Browse files Browse the repository at this point in the history
Co-authored-by: Steve MacLean <[email protected]>
  • Loading branch information
github-actions[bot] and sdmaclea authored Nov 18, 2020
1 parent 87bc28f commit f4f9088
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/coreclr/src/pal/src/exception/remote-unwind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1698,7 +1698,10 @@ find_proc_info(unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pip, int nee
ehFrameHdrLen = ph.p_memsz;
break;

#ifdef PT_ARM_EXIDX
#if defined(TARGET_ARM)
#ifndef PT_ARM_EXIDX
#define PT_ARM_EXIDX 0x70000001 /* See llvm ELF.h */
#endif /* !PT_ARM_EXIDX */
case PT_ARM_EXIDX:
exidxFrameHdrAddr = loadbias + ph.p_vaddr;
exidxFrameHdrLen = ph.p_memsz;
Expand Down

0 comments on commit f4f9088

Please sign in to comment.