pub struct Flags {
pub frame_pointer: bool,
pub red_zone: bool,
pub stack_clash: bool,
pub landing: bool,
pub profile: Profile,
pub patch: Room,
}Expand description
What the command line says about a frame, as opposed to what the machine says.
Fields§
§frame_pointer: boolWhether every function keeps a frame pointer, which -fno-omit-frame-pointer asks for.
red_zone: boolWhether the red zone may be used, which -mno-red-zone and every kernel turns off.
stack_clash: boolWhether a frame is taken a page at a time, which -fstack-clash-protection asks for.
landing: boolWhether every function opens with a landing pad, which -fcf-protection=branch asks for.
profile: ProfileWhether every function calls a profiler on the way in, which -pg asks for.
patch: RoomHow much room every function opens with for a patcher, which
-fpatchable-function-entry= asks for. See Room.
Trait Implementations§
impl Copy for Flags
impl Eq for Flags
impl StructuralPartialEq for Flags
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnsafeUnpin for Flags
impl UnwindSafe for Flags
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