Merge pull request #2838 from uweigand/optionalfp

Allow unwind support to work without a frame pointer
This commit is contained in:
Chris Fallin
2021-04-14 10:58:51 -07:00
committed by GitHub
6 changed files with 47 additions and 15 deletions

View File

@@ -89,8 +89,8 @@ impl crate::isa::unwind::systemv::RegisterMapper<Reg> for RegisterMapper {
fn sp(&self) -> u16 {
X86_64::RSP.0
}
fn fp(&self) -> u16 {
X86_64::RBP.0
fn fp(&self) -> Option<u16> {
Some(X86_64::RBP.0)
}
}