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 committed Feb 23, 2024
1 parent df2e7bd commit 1e35084
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 1e35084

Please sign in to comment.