Enum llvm_sys::lto::lto_symbol_attributes
source · #[repr(C)]pub enum lto_symbol_attributes {
Show 19 variants
LTO_SYMBOL_ALIGNMENT_MASK = 31,
LTO_SYMBOL_PERMISSIONS_MASK = 224,
LTO_SYMBOL_PERMISSIONS_CODE = 160,
LTO_SYMBOL_PERMISSIONS_DATA = 192,
LTO_SYMBOL_PERMISSIONS_RODATA = 128,
LTO_SYMBOL_DEFINITION_MASK = 1_792,
LTO_SYMBOL_DEFINITION_REGULAR = 256,
LTO_SYMBOL_DEFINITION_TENTATIVE = 512,
LTO_SYMBOL_DEFINITION_WEAK = 768,
LTO_SYMBOL_DEFINITION_UNDEFINED = 1_024,
LTO_SYMBOL_DEFINITION_WEAKUNDEF = 1_280,
LTO_SYMBOL_SCOPE_MASK = 14_336,
LTO_SYMBOL_SCOPE_INTERNAL = 2_048,
LTO_SYMBOL_SCOPE_HIDDEN = 4_096,
LTO_SYMBOL_SCOPE_PROTECTED = 8_192,
LTO_SYMBOL_SCOPE_DEFAULT = 6_144,
LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN = 10_240,
LTO_SYMBOL_COMDAT = 16_384,
LTO_SYMBOL_ALIAS = 32_768,
}
Variants§
LTO_SYMBOL_ALIGNMENT_MASK = 31
LTO_SYMBOL_PERMISSIONS_MASK = 224
LTO_SYMBOL_PERMISSIONS_CODE = 160
LTO_SYMBOL_PERMISSIONS_DATA = 192
LTO_SYMBOL_PERMISSIONS_RODATA = 128
LTO_SYMBOL_DEFINITION_MASK = 1_792
LTO_SYMBOL_DEFINITION_REGULAR = 256
LTO_SYMBOL_DEFINITION_TENTATIVE = 512
LTO_SYMBOL_DEFINITION_WEAK = 768
LTO_SYMBOL_DEFINITION_UNDEFINED = 1_024
LTO_SYMBOL_DEFINITION_WEAKUNDEF = 1_280
LTO_SYMBOL_SCOPE_MASK = 14_336
LTO_SYMBOL_SCOPE_INTERNAL = 2_048
LTO_SYMBOL_SCOPE_HIDDEN = 4_096
LTO_SYMBOL_SCOPE_PROTECTED = 8_192
LTO_SYMBOL_SCOPE_DEFAULT = 6_144
LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN = 10_240
LTO_SYMBOL_COMDAT = 16_384
Added in LLVM 3.7.
LTO_SYMBOL_ALIAS = 32_768
Added in LLVM 3.7.
Trait Implementations§
source§impl Clone for lto_symbol_attributes
impl Clone for lto_symbol_attributes
source§fn clone(&self) -> lto_symbol_attributes
fn clone(&self) -> lto_symbol_attributes
Returns a copy 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 lto_symbol_attributes
impl Debug for lto_symbol_attributes
source§impl PartialEq for lto_symbol_attributes
impl PartialEq for lto_symbol_attributes
source§fn eq(&self, other: <o_symbol_attributes) -> bool
fn eq(&self, other: <o_symbol_attributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for lto_symbol_attributes
impl StructuralPartialEq for lto_symbol_attributes
Auto Trait Implementations§
impl Freeze for lto_symbol_attributes
impl RefUnwindSafe for lto_symbol_attributes
impl Send for lto_symbol_attributes
impl Sync for lto_symbol_attributes
impl Unpin for lto_symbol_attributes
impl UnwindSafe for lto_symbol_attributes
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