pub enum SpecialName {
Show 15 variants VirtualTable(TypeHandle), Vtt(TypeHandle), Typeinfo(TypeHandle), TypeinfoName(TypeHandle), VirtualOverrideThunk(CallOffset, Box<Encoding>), VirtualOverrideThunkCovariant(CallOffset, CallOffset, Box<Encoding>), Guard(Name), GuardTemporary(Name, usize), ConstructionVtable(TypeHandle, usize, TypeHandle), TypeinfoFunction(TypeHandle), TlsInit(Name), TlsWrapper(Name), JavaResource(Vec<ResourceName>), TransactionClone(Box<Encoding>), NonTransactionClone(Box<Encoding>),
}
Expand description

The <special-name> production.

The <special-name> production is spread in pieces through out the ABI spec, and then there are a bunch of g++ extensions that have become de facto.

5.1.4.1 Virtual Tables and RTTI

<special-name> ::= TV <type>    # virtual table
               ::= TT <type>    # VTT structure (construction vtable index)
               ::= TI <type>    # typeinfo structure
               ::= TS <type>    # typeinfo name (null-terminated byte string)

5.1.4.2 Virtual Override Thunks

<special-name> ::= T <call-offset> <base encoding>
    # base is the nominal target function of thunk

<special-name> ::= Tc <call-offset> <call-offset> <base encoding>
    # base is the nominal target function of thunk
    # first call-offset is 'this' adjustment
    # second call-offset is result adjustment

5.1.4.4 Guard Variables

<special-name> ::= GV <object name> # Guard variable for one-time initialization
    # No <type>

5.1.4.5 Lifetime-Extended Temporaries

<special-name> ::= GR <object name> _             # First temporary
<special-name> ::= GR <object name> <seq-id> _    # Subsequent temporaries

De Facto Standard Extensions

<special-name> ::= TC <type> <number> _ <type>    # construction vtable
               ::= TF <type>                      # typinfo function
               ::= TH <name>                      # TLS initialization function
               ::= TW <name>                      # TLS wrapper function
               ::= Gr <resource name>             # Java Resource
               ::= GTt <encoding>                 # Transaction-Safe function
               ::= GTn <encoding>                 # Non-Transaction-Safe function

Variants§

§

VirtualTable(TypeHandle)

A virtual table.

§

Vtt(TypeHandle)

A VTT structure (construction vtable index).

§

Typeinfo(TypeHandle)

A typeinfo structure.

§

TypeinfoName(TypeHandle)

A typeinfo name (null-terminated byte string).

§

VirtualOverrideThunk(CallOffset, Box<Encoding>)

A virtual override thunk.

§

VirtualOverrideThunkCovariant(CallOffset, CallOffset, Box<Encoding>)

A virtual override thunk with a covariant return type.

§

Guard(Name)

An initialization guard for some static storage.

§

GuardTemporary(Name, usize)

A temporary used in the initialization of a static storage and promoted to a static lifetime.

§

ConstructionVtable(TypeHandle, usize, TypeHandle)

A construction vtable structure.

§

TypeinfoFunction(TypeHandle)

A typeinfo function.

§

TlsInit(Name)

A TLS initialization function.

§

TlsWrapper(Name)

A TLS wrapper function.

§

JavaResource(Vec<ResourceName>)

A Java Resource.

§

TransactionClone(Box<Encoding>)

A function declared transaction-safe

§

NonTransactionClone(Box<Encoding>)

A function declared non-transaction-safe

Trait Implementations§

source§

impl Clone for SpecialName

source§

fn clone(&self) -> SpecialName

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SpecialName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<SpecialName> for SpecialName

source§

fn eq(&self, other: &SpecialName) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for SpecialName

source§

impl StructuralEq for SpecialName

source§

impl StructuralPartialEq for SpecialName

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.