Move UnwindInfo definition out of x86 ABI.

This commit moves the opaque definition of Windows x64 UnwindInfo out of the
ISA and into a location that can be easily used by the top level `UnwindInfo`
enum.

This allows the `unwind` feature to be independent of the individual ISAs
supported.
This commit is contained in:
Peter Huene
2020-04-03 14:46:08 -07:00
parent f7e9f86ba9
commit 09a3f10a48
5 changed files with 224 additions and 219 deletions

View File

@@ -952,7 +952,7 @@ pub fn create_unwind_info(
.map(|u| UnwindInfo::SystemV(u))
}
CallConv::WindowsFastcall => {
super::unwind::windows::create_unwind_info(func, isa, Some(RU::rbp.into()))?
super::unwind::winx64::create_unwind_info(func, isa, Some(RU::rbp.into()))?
.map(|u| UnwindInfo::WindowsX64(u))
}
_ => None,