[−][src]Struct rustc_codegen_llvm::common::Funclet
A structure representing an active landing pad for the duration of a basic block.
Each Block may contain an instance of this, indicating whether the block
is part of a landing pad or not. This is used to make decision about whether
to emit invoke instructions (e.g., in a landing pad we don't continue to
use invoke) and also about various function call metadata.
For GNU exceptions (landingpad + resume instructions) this structure is
just a bunch of None instances (not too interesting), but for MSVC
exceptions (cleanuppad + cleanupret instructions) this contains data.
When inside of a landing pad, each function call in LLVM IR needs to be
annotated with which landing pad it's a part of. This is accomplished via
the OperandBundleDef value created for MSVC landing pads.
Fields
cleanuppad: &'ll Valueoperand: OperandBundleDef<'ll>Implementations
impl<'ll> Funclet<'ll>[src]
pub fn new(cleanuppad: &'ll Value) -> Self[src]
pub fn cleanuppad(&self) -> &'ll Value[src]
pub fn bundle(&self) -> &OperandBundleDef<'ll>[src]
Auto Trait Implementations
impl<'ll> !RefUnwindSafe for Funclet<'ll>
impl<'ll> !Send for Funclet<'ll>
impl<'ll> !Sync for Funclet<'ll>
impl<'ll> Unpin for Funclet<'ll>
impl<'ll> !UnwindSafe for Funclet<'ll>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,