pub struct Output {
pub sections: Sections,
pub property: Property,
pub isa: Isa,
pub ident: Option<&'static str>,
}Expand description
What the command line decided about the file being written, as against what the code in it decided.
Answers with nothing to do with each other, together because they arrive together: none of them can be worked out from a function, and the listing and the byte writer have to be handed the same ones or the two outputs of one command line would not be the same file.
Fields§
§sections: SectionsWhether each function and each variable gets a section to itself.
property: PropertyWhat the file says it was built to have checked.
isa: IsaThe extensions the unit is built for, which is what -march= said. Only the listing reads
it, since an assembler reading the file has to be told about an extension whose
instructions are in it, and bytes need no telling.
ident: Option<&'static str>What the file says made it, which ELF keeps in .comment and gcc writes as .ident.
Nothing under -fno-ident, and nothing on the formats with no such section.
Trait Implementations§
impl Copy for Output
impl Eq for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.