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

Commit

Permalink
Also use the proper register numbers on CloudABI.
Browse files Browse the repository at this point in the history
Without this change applied, unw_step() fails to obtain the next frame
properly.


git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@282589 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
EdSchouten committed Sep 28, 2016
1 parent 9feea20 commit 99e90f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libunwind.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ enum {
UNW_X86_ECX = 1,
UNW_X86_EDX = 2,
UNW_X86_EBX = 3,
#ifdef __FreeBSD__
#if defined(__CloudABI__) || defined(__FreeBSD__)
UNW_X86_ESP = 4,
UNW_X86_EBP = 5,
#else
Expand Down

0 comments on commit 99e90f4

Please sign in to comment.