Skip to content

Commit

Permalink
[libunwind] Support kRegisterUndefined.
Browse files Browse the repository at this point in the history
This makes all supported morello tests pass.
  • Loading branch information
dstolfa authored and jrtc27 committed Mar 20, 2024
1 parent df2e7bd commit b32599b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libunwind/src/DwarfInstructions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@ typename A::capability_t DwarfInstructions<A, R>::getSavedCapabilityRegister(
#else
break;
#endif
case CFI_Parser<A>::kRegisterUndefined:
return addressSpace.to_capability_t(0);

case CFI_Parser<A>::kRegisterInCFADecrypt: // sparc64 specific
case CFI_Parser<A>::kRegisterUndefined:
case CFI_Parser<A>::kRegisterUnused:
case CFI_Parser<A>::kRegisterOffsetFromCFA:
// FIX ME
Expand Down

0 comments on commit b32599b

Please sign in to comment.