Add TargetIsa::map_dwarf_register; fixes #1471
This exposes the functionality of `fde::map_reg` on the `TargetIsa` trait, avoiding compilation errors on architectures where register mapping is not yet supported. The change is conditially compiled under the `unwind` feature.
This commit is contained in:
@@ -14,9 +14,6 @@ pub mod settings {
|
||||
|
||||
pub mod isa {
|
||||
pub use cranelift_codegen::isa::{CallConv, RegUnit, TargetFrontendConfig, TargetIsa};
|
||||
pub mod fde {
|
||||
pub use cranelift_codegen::isa::fde::map_reg;
|
||||
}
|
||||
}
|
||||
|
||||
pub mod entity {
|
||||
|
||||
Reference in New Issue
Block a user