mirror of
https://github.com/Noratrieb/uwuwind.git
synced 2026-01-15 17:15:11 +01:00
decode CIE
This commit is contained in:
parent
e3246ede0b
commit
c4dd3a7153
5 changed files with 194 additions and 37 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#![no_std]
|
||||
#![cfg_attr(not(test), no_std)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
use core::{ffi, sync::atomic::AtomicPtr};
|
||||
|
||||
// Get the macros into our local prelude.
|
||||
|
|
@ -29,8 +31,7 @@ pub unsafe extern "C" fn _UnwindRaiseException(
|
|||
exception_object: *mut uw::_Unwind_Exception,
|
||||
) -> uw::_Unwind_Reason_Code {
|
||||
trace!("someone raised an exception with addr {exception_object:p}");
|
||||
let _di = crate::dwarf::dwarf_info(arch::get_rip()).unwrap();
|
||||
crate::dwarf::uwutables(core::ptr::null());
|
||||
let _ = crate::dwarf::eh_frame(arch::get_rip()).unwrap();
|
||||
|
||||
stdext::abort();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue