clang  8.0.0svn
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
clang::CodeGen::EHPersonality Struct Reference

The exceptions personality for a function. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/CodeGen/CGCleanup.h"

Collaboration diagram for clang::CodeGen::EHPersonality:
Collaboration graph
[legend]

Public Member Functions

bool usesFuncletPads () const
 Does this personality use landingpads or the family of pad instructions designed to form funclets? More...
 
bool isMSVCPersonality () const
 
bool isWasmPersonality () const
 
bool isMSVCXXPersonality () const
 

Static Public Member Functions

static const EHPersonalityget (CodeGenModule &CGM, const FunctionDecl *FD)
 
static const EHPersonalityget (CodeGenFunction &CGF)
 

Public Attributes

const char * PersonalityFn
 
const char * CatchallRethrowFn
 

Static Public Attributes

static const EHPersonality GNU_C = { "__gcc_personality_v0", nullptr }
 
static const EHPersonality GNU_C_SJLJ = { "__gcc_personality_sj0", nullptr }
 
static const EHPersonality GNU_C_SEH = { "__gcc_personality_seh0", nullptr }
 
static const EHPersonality GNU_ObjC = {"__gnu_objc_personality_v0", "objc_exception_throw"}
 
static const EHPersonality GNU_ObjC_SJLJ = {"__gnu_objc_personality_sj0", "objc_exception_throw"}
 
static const EHPersonality GNU_ObjC_SEH = {"__gnu_objc_personality_seh0", "objc_exception_throw"}
 
static const EHPersonality GNUstep_ObjC = { "__gnustep_objc_personality_v0", nullptr }
 
static const EHPersonality GNU_ObjCXX = { "__gnustep_objcxx_personality_v0", nullptr }
 
static const EHPersonality NeXT_ObjC = { "__objc_personality_v0", nullptr }
 
static const EHPersonality GNU_CPlusPlus = { "__gxx_personality_v0", nullptr }
 
static const EHPersonality GNU_CPlusPlus_SJLJ = { "__gxx_personality_sj0", nullptr }
 
static const EHPersonality GNU_CPlusPlus_SEH = { "__gxx_personality_seh0", nullptr }
 
static const EHPersonality MSVC_except_handler = { "_except_handler3", nullptr }
 
static const EHPersonality MSVC_C_specific_handler = { "__C_specific_handler", nullptr }
 
static const EHPersonality MSVC_CxxFrameHandler3 = { "__CxxFrameHandler3", nullptr }
 
static const EHPersonality GNU_Wasm_CPlusPlus = { "__gxx_wasm_personality_v0", nullptr }
 

Detailed Description

The exceptions personality for a function.

Definition at line 604 of file CGCleanup.h.

Member Function Documentation

◆ get() [1/2]

const EHPersonality & EHPersonality::get ( CodeGenModule CGM,
const FunctionDecl FD 
)
static

◆ get() [2/2]

const EHPersonality & EHPersonality::get ( CodeGenFunction CGF)
static

◆ isMSVCPersonality()

bool clang::CodeGen::EHPersonality::isMSVCPersonality ( ) const
inline

Definition at line 638 of file CGCleanup.h.

◆ isMSVCXXPersonality()

bool clang::CodeGen::EHPersonality::isMSVCXXPersonality ( ) const
inline

Definition at line 645 of file CGCleanup.h.

◆ isWasmPersonality()

bool clang::CodeGen::EHPersonality::isWasmPersonality ( ) const
inline

Definition at line 643 of file CGCleanup.h.

◆ usesFuncletPads()

bool clang::CodeGen::EHPersonality::usesFuncletPads ( ) const
inline

Does this personality use landingpads or the family of pad instructions designed to form funclets?

Definition at line 634 of file CGCleanup.h.

Referenced by clang::CodeGen::CodeGenFunction::getEHDispatchBlock(), clang::CodeGen::CodeGenFunction::getInvokeDestImpl(), and clang::CodeGen::CodeGenFunction::getTerminateFunclet().

Member Data Documentation

◆ CatchallRethrowFn

const char* clang::CodeGen::EHPersonality::CatchallRethrowFn

Definition at line 610 of file CGCleanup.h.

◆ GNU_C

const EHPersonality EHPersonality::GNU_C = { "__gcc_personality_v0", nullptr }
static

Definition at line 615 of file CGCleanup.h.

Referenced by getCPersonality().

◆ GNU_C_SEH

const EHPersonality EHPersonality::GNU_C_SEH = { "__gcc_personality_seh0", nullptr }
static

Definition at line 617 of file CGCleanup.h.

Referenced by getCPersonality().

◆ GNU_C_SJLJ

const EHPersonality EHPersonality::GNU_C_SJLJ = { "__gcc_personality_sj0", nullptr }
static

Definition at line 616 of file CGCleanup.h.

Referenced by getCPersonality().

◆ GNU_CPlusPlus

const EHPersonality EHPersonality::GNU_CPlusPlus = { "__gxx_personality_v0", nullptr }
static

Definition at line 624 of file CGCleanup.h.

Referenced by getCXXPersonality().

◆ GNU_CPlusPlus_SEH

const EHPersonality EHPersonality::GNU_CPlusPlus_SEH = { "__gxx_personality_seh0", nullptr }
static

Definition at line 626 of file CGCleanup.h.

Referenced by getCXXPersonality().

◆ GNU_CPlusPlus_SJLJ

const EHPersonality EHPersonality::GNU_CPlusPlus_SJLJ = { "__gxx_personality_sj0", nullptr }
static

Definition at line 625 of file CGCleanup.h.

Referenced by getCXXPersonality().

◆ GNU_ObjC

const EHPersonality EHPersonality::GNU_ObjC = {"__gnu_objc_personality_v0", "objc_exception_throw"}
static

Definition at line 618 of file CGCleanup.h.

Referenced by getObjCPersonality().

◆ GNU_ObjC_SEH

const EHPersonality EHPersonality::GNU_ObjC_SEH = {"__gnu_objc_personality_seh0", "objc_exception_throw"}
static

Definition at line 620 of file CGCleanup.h.

Referenced by getObjCPersonality().

◆ GNU_ObjC_SJLJ

const EHPersonality EHPersonality::GNU_ObjC_SJLJ = {"__gnu_objc_personality_sj0", "objc_exception_throw"}
static

Definition at line 619 of file CGCleanup.h.

Referenced by getObjCPersonality().

◆ GNU_ObjCXX

const EHPersonality EHPersonality::GNU_ObjCXX = { "__gnustep_objcxx_personality_v0", nullptr }
static

Definition at line 622 of file CGCleanup.h.

Referenced by getObjCXXPersonality().

◆ GNU_Wasm_CPlusPlus

const EHPersonality EHPersonality::GNU_Wasm_CPlusPlus = { "__gxx_wasm_personality_v0", nullptr }
static

Definition at line 630 of file CGCleanup.h.

Referenced by getCXXPersonality().

◆ GNUstep_ObjC

const EHPersonality EHPersonality::GNUstep_ObjC = { "__gnustep_objc_personality_v0", nullptr }
static

Definition at line 621 of file CGCleanup.h.

◆ MSVC_C_specific_handler

const EHPersonality EHPersonality::MSVC_C_specific_handler = { "__C_specific_handler", nullptr }
static

Definition at line 628 of file CGCleanup.h.

Referenced by getSEHPersonalityMSVC().

◆ MSVC_CxxFrameHandler3

const EHPersonality EHPersonality::MSVC_CxxFrameHandler3 = { "__CxxFrameHandler3", nullptr }
static

Definition at line 629 of file CGCleanup.h.

◆ MSVC_except_handler

const EHPersonality EHPersonality::MSVC_except_handler = { "_except_handler3", nullptr }
static

Definition at line 627 of file CGCleanup.h.

◆ NeXT_ObjC

const EHPersonality EHPersonality::NeXT_ObjC = { "__objc_personality_v0", nullptr }
static

Definition at line 623 of file CGCleanup.h.

Referenced by getObjCPersonality().

◆ PersonalityFn

const char* clang::CodeGen::EHPersonality::PersonalityFn

Definition at line 605 of file CGCleanup.h.

Referenced by getPersonalityFn().


The documentation for this struct was generated from the following files: