Recognized exception‐handling personality kinds.

Synopsis

Declared in <llvm/IR/EHPersonalities.h>

enum class EHPersonality : int;

Members

Name

Description

Unknown

Personality function not recognized by LLVM.

GNU_Ada

The GNAT Ada personality (__gnat_eh_personality).

GNU_C

The GCC C personality (__gcc_personality_v0).

GNU_C_SjLj

The GCC C SjLj personality (__gcc_personality_sj0).

GNU_CXX

The GCC C++ personality (__gxx_personality_v0).

GNU_CXX_SjLj

The GCC C++ SjLj personality (__gxx_personality_sj0).

GNU_ObjC

The GCC Objective‐C personality (__objc_personality_v0).

MSVC_X86SEH

MSVC x86 SEH (_except_handler3 / _except_handler4).

MSVC_TableSEH

MSVC table‐based SEH (__C_specific_handler).

MSVC_CXX

MSVC C++ EH (__CxxFrameHandler3).

CoreCLR

The .NET CoreCLR personality (ProcessCLRException).

Rust

The Rust personality (mangled name ending in rust_eh_personality).

Wasm_CXX

The WebAssembly C++ personality (__gxx_wasm_personality_v0).

XL_CXX

The IBM XL C++ personality (__xlcxx_personality_v1).

ZOS_CXX

The z/OS C++ personality (__zos_cxx_personality_v2).

Non-Member Functions

Name

Description

classifyEHPersonality

See if the given exception handling personality function is one that we understand. If so, return a description of it; otherwise return Unknown.

getDefaultEHPersonality

Return the default exception‐handling personality for target T.

getEHPersonalityName

Return the canonical name string for personality Pers.

isAsynchronousEHPersonality

Returns true if this personality function catches asynchronous exceptions.

isFuncletEHPersonality

Returns true if this is a personality function that invokes handler funclets (which must return to it).

isNoOpWithoutInvoke

Return true if this personality may be safely removed if there are no invoke instructions remaining in the current function.

isScopedEHPersonality

Returns true if this personality uses scope‐style EH IR instructions: catchswitch, catchpad/ret, and cleanuppad/ret.

Created with MrDocs