pub enum ExternalFileAddressInFileRef {
MachoOsoObject {
symbol_name: Vec<u8>,
offset_from_symbol: u32,
},
MachoOsoArchive {
name_in_archive: String,
symbol_name: Vec<u8>,
offset_from_symbol: u32,
},
ElfDwo {
dwo_id: u64,
svma: u64,
},
}Expand description
Information to find an address within an external file, for debug info lookup.
Variants§
MachoOsoObject
Fields
MachoOsoArchive
Fields
§
name_in_archive: StringIf the external file is an archive file (e.g. libjs_static.a, created with ar),
then this is the name of the archive member (e.g. Unified_cpp_js_src23.o),
otherwise None.
ElfDwo
Trait Implementations§
Source§impl Clone for ExternalFileAddressInFileRef
impl Clone for ExternalFileAddressInFileRef
Source§fn clone(&self) -> ExternalFileAddressInFileRef
fn clone(&self) -> ExternalFileAddressInFileRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExternalFileAddressInFileRef
impl Debug for ExternalFileAddressInFileRef
Source§impl Hash for ExternalFileAddressInFileRef
impl Hash for ExternalFileAddressInFileRef
Source§impl Ord for ExternalFileAddressInFileRef
impl Ord for ExternalFileAddressInFileRef
Source§fn cmp(&self, other: &ExternalFileAddressInFileRef) -> Ordering
fn cmp(&self, other: &ExternalFileAddressInFileRef) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExternalFileAddressInFileRef
impl PartialEq for ExternalFileAddressInFileRef
Source§fn eq(&self, other: &ExternalFileAddressInFileRef) -> bool
fn eq(&self, other: &ExternalFileAddressInFileRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExternalFileAddressInFileRef
impl PartialOrd for ExternalFileAddressInFileRef
impl Eq for ExternalFileAddressInFileRef
impl StructuralPartialEq for ExternalFileAddressInFileRef
Auto Trait Implementations§
impl Freeze for ExternalFileAddressInFileRef
impl RefUnwindSafe for ExternalFileAddressInFileRef
impl Send for ExternalFileAddressInFileRef
impl Sync for ExternalFileAddressInFileRef
impl Unpin for ExternalFileAddressInFileRef
impl UnwindSafe for ExternalFileAddressInFileRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more