clang 24.0.0git
EHPersonality.cpp
Go to the documentation of this file.
1//===--- EHPersonality.cpp - Shared EH personality descriptions -----------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
10
11namespace clang::CodeGenUtils {
12
13const EHPersonality EHPersonality::GNU_C = {"__gcc_personality_v0", nullptr};
14const EHPersonality EHPersonality::GNU_C_SJLJ = {"__gcc_personality_sj0",
15 nullptr};
16const EHPersonality EHPersonality::GNU_C_SEH = {"__gcc_personality_seh0",
17 nullptr};
18const EHPersonality EHPersonality::NeXT_ObjC = {"__objc_personality_v0",
19 nullptr};
20const EHPersonality EHPersonality::GNU_CPlusPlus = {"__gxx_personality_v0",
21 nullptr};
23 "__gxx_personality_sj0", nullptr};
25 "__gxx_personality_seh0", nullptr};
26const EHPersonality EHPersonality::GNU_ObjC = {"__gnu_objc_personality_v0",
27 "objc_exception_throw"};
29 "__gnu_objc_personality_sj0", "objc_exception_throw"};
31 "__gnu_objc_personality_seh0", "objc_exception_throw"};
33 "__gnustep_objcxx_personality_v0", nullptr};
35 "__gnustep_objc_personality_v0", nullptr};
36const EHPersonality EHPersonality::MSVC_except_handler = {"_except_handler3",
37 nullptr};
39 "__C_specific_handler", nullptr};
41 "__CxxFrameHandler3", nullptr};
43 "__gxx_wasm_personality_v0", nullptr};
44const EHPersonality EHPersonality::XL_CPlusPlus = {"__xlcxx_personality_v1",
45 nullptr};
46const EHPersonality EHPersonality::ZOS_CPlusPlus = {"__zos_cxx_personality_v2",
47 nullptr};
48
49} // namespace clang::CodeGenUtils
The exceptions personality for a function.
static const EHPersonality GNU_CPlusPlus_SEH
static const EHPersonality MSVC_CxxFrameHandler3
static const EHPersonality NeXT_ObjC
static const EHPersonality GNU_ObjCXX
static const EHPersonality GNU_Wasm_CPlusPlus
static const EHPersonality MSVC_C_specific_handler
static const EHPersonality GNU_CPlusPlus_SJLJ
static const EHPersonality GNUstep_ObjC
static const EHPersonality GNU_C
static const EHPersonality GNU_CPlusPlus
static const EHPersonality GNU_ObjC_SJLJ
static const EHPersonality GNU_ObjC
static const EHPersonality ZOS_CPlusPlus
static const EHPersonality GNU_C_SJLJ
static const EHPersonality GNU_C_SEH
static const EHPersonality GNU_ObjC_SEH
static const EHPersonality XL_CPlusPlus
static const EHPersonality MSVC_except_handler