Reorg imports

This commit is contained in:
Gary Guo 2021-10-05 22:27:57 +01:00
parent 377945f07a
commit 56f2d3cb32
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@ use core::ops;
use crate::util::*;
#[cfg(not(feature = "unwinder"))]
use crate::arch::Arch;
#[cfg(feature = "unwinder")]
pub use crate::unwinder::*;

View File

@ -1,7 +1,6 @@
use super::FDESearchResult;
use crate::util::*;
use core::ffi::c_void;
use core::mem;
use core::slice;
use gimli::{BaseAddresses, EhFrame, EhFrameHdr, NativeEndian, UnwindSection};
@ -49,6 +48,7 @@ fn search_aux_phdr(pc: usize) -> Option<FDESearchResult> {
#[cfg(feature = "fde-phdr-dl")]
fn search_dl_phdr(pc: usize) -> Option<FDESearchResult> {
use core::ffi::c_void;
use libc::{dl_iterate_phdr, dl_phdr_info};
struct CallbackData {