@@ -948,6 +948,11 @@ s! {
948948 pub ri_interval_max_phys_footprint: u64 ,
949949 pub ri_runnable_time: u64 ,
950950 }
951+
952+ pub struct image_offset {
953+ pub uuid: :: uuid_t,
954+ pub offset: u32 ,
955+ }
951956}
952957
953958s_no_extra_traits ! {
@@ -4945,6 +4950,23 @@ extern "C" {
49454950 ) -> kern_return_t ;
49464951 pub fn __error ( ) -> * mut :: c_int ;
49474952 pub fn backtrace ( buf : * mut * mut :: c_void , sz : :: c_int ) -> :: c_int ;
4953+ pub fn backtrace_symbols ( addrs : * const * mut :: c_void , sz : :: c_int ) -> * mut * mut :: c_char ;
4954+ pub fn backtrace_symbols_fd ( addrs : * const * mut :: c_void , sz : :: c_int , fd : :: c_int ) ;
4955+ pub fn backtrace_from_fp (
4956+ startfp : * mut :: c_void ,
4957+ array : * mut * mut :: c_void ,
4958+ size : :: c_int ,
4959+ ) -> :: c_int ;
4960+ pub fn backtrace_image_offsets (
4961+ array : * const * mut :: c_void ,
4962+ image_offsets : * mut image_offset ,
4963+ size : :: c_int ,
4964+ ) ;
4965+ pub fn backtrace_async (
4966+ array : * mut * mut :: c_void ,
4967+ length : :: size_t ,
4968+ task_id : * mut u32 ,
4969+ ) -> :: size_t ;
49484970 #[ cfg_attr(
49494971 all( target_os = "macos" , not( target_arch = "aarch64" ) ) ,
49504972 link_name = "statfs$INODE64"
0 commit comments