Searched refs:RTTI (Results 1 – 25 of 61) sorted by relevance
123
2 How to set up LLVM-style RTTI for your class hierarchy10 LLVM avoids using C++'s built in RTTI. Instead, it pervasively uses its11 own hand-rolled form of RTTI which is much more efficient and flexible,14 A description of how to use LLVM-style RTTI from a client's perspective is17 hierarchy author to make LLVM-style RTTI available to your clients.27 This section describes how to set up the most basic form of LLVM-style RTTI29 RTTI for this class hierarchy:53 The most basic working setup for LLVM-style RTTI requires the following57 "llvm/Support/Casting.h"``, which declares LLVM's RTTI templates. That74 + /// Discriminator for LLVM-style RTTI (dyn_cast<> et al.)[all …]
49 RTTI50 LLVM disables RTTI by default. Add ``REQUIRES_RTTI=1`` to your environment52 RTTI enabled and still inherit from LLVM classes.
94 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI102 # RTTI are enabled, so we define GTEST_HAS_* explicitly.111 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI118 # RTTI can not be disabled in HP aCC compiler.
79 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI87 # RTTI are enabled, so we define GTEST_HAS_* explicitly.96 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI103 # RTTI can not be disabled in HP aCC compiler.
26 #error RTTI enabled in main()
101 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI109 # RTTI are enabled, so we define GTEST_HAS_* explicitly.118 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI125 # RTTI can not be disabled in HP aCC compiler.
12 # Enable EH and RTTI for this demo
1 # If we don't need RTTI or EH, there's no reason to export anything
563 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()819 if (!handler.Type.RTTI) { in EmitLandingPad()826 if (catchTypes.insert(handler.Type.RTTI).second) in EmitLandingPad()828 LPadInst->addClause(handler.Type.RTTI); in EmitLandingPad()898 if (!TypeInfo.RTTI) in emitCatchPadBlock()899 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitCatchPadBlock()905 CatchSwitch, {TypeInfo.RTTI, CGF.Builder.getInt32(TypeInfo.Flags), in emitCatchPadBlock()908 CGF.Builder.CreateCatchPad(CatchSwitch, {TypeInfo.RTTI}); in emitCatchPadBlock()949 llvm::Value *typeValue = handler.Type.RTTI; in emitCatchDispatchBlock()
67 unsigned NumVTableThunks, llvm::Constant *RTTI);
526 unsigned NumVTableThunks, llvm::Constant *RTTI) { in CreateVTableInitializer() argument560 Init = llvm::ConstantExpr::getBitCast(RTTI, Int8PtrTy); in CreateVTableInitializer()702 llvm::Constant *RTTI = CGM.GetAddrOfRTTIDescriptor( in GenerateConstructionVTable() local709 VTLayout->getNumVTableThunks(), RTTI); in GenerateConstructionVTable()
39 llvm::Constant *RTTI; member163 bool isCatchAll() const { return Type.RTTI == nullptr; } in isCatchAll()
5 # If we don't need RTTI or EH, there's no reason to export anything
21 #error TypeInfo/Any with RTTI disabled is supported on clang compiler only.
78 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI85 # RTTI are enabled, so we define GTEST_HAS_* explicitly.94 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
28 # Fetch target specific compile options, e.g. RTTI option
84 * RTTI: :good:`Complete`. Generation of RTTI data structures has been
61 // GTEST_HAS_RTTI - Define it to 1/0 to indicate that RTTI is/isn't409 // Determines whether RTTI is available.411 // The user didn't tell us whether RTTI is enabled, so we need to416 # ifdef _CPPRTTI // MSVC defines this macro iff RTTI is enabled.422 // Starting with version 4.3.2, gcc defines __GXX_RTTI iff RTTI is enabled.429 // so disable RTTI when detected.459 // For all other compilers, we assume RTTI is enabled.466 // It's this header's responsibility to #include <typeinfo> when RTTI585 // which is #included by <tr1/tuple>, to not compile when RTTI is1117 // do RTTI (eg code like this:[all …]
70 namespace RTTI { namespace
110 // A const char* with the non-unique RTTI bit possibly set.
16245 PASS: gdb.mi/mi-var-rtti.exp: create varobj for ptr (without RTTI) in use_rtti_for_ptr16246 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr (without RTTI) in use_rtti_for_ptr16247 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr.public (without RTTI) in use_rtti_for_ptr16248 PASS: gdb.mi/mi-var-rtti.exp: check ptr->A (without RTTI) in use_rtti_for_ptr16249 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for ptr (without RTTI) in use_rtti_for_ptr16250 PASS: gdb.mi/mi-var-rtti.exp: create varobj for constPtr (without RTTI) in use_rtti_for_ptr16251 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr (without RTTI) in use_rtti_for_ptr16252 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr.public (without RTTI) in use_rtti_for_ptr16253 PASS: gdb.mi/mi-var-rtti.exp: check constPtr->A (without RTTI) in use_rtti_for_ptr16254 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for constPtr (without RTTI) in use_rtti_for_ptr[all …]
15977 PASS: gdb.mi/mi-var-rtti.exp: create varobj for ptr (without RTTI) in use_rtti_for_ptr15978 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr (without RTTI) in use_rtti_for_ptr15979 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr.public (without RTTI) in use_rtti_for_ptr15980 PASS: gdb.mi/mi-var-rtti.exp: check ptr->A (without RTTI) in use_rtti_for_ptr15981 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for ptr (without RTTI) in use_rtti_for_ptr15982 PASS: gdb.mi/mi-var-rtti.exp: create varobj for constPtr (without RTTI) in use_rtti_for_ptr15983 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr (without RTTI) in use_rtti_for_ptr15984 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr.public (without RTTI) in use_rtti_for_ptr15985 PASS: gdb.mi/mi-var-rtti.exp: check constPtr->A (without RTTI) in use_rtti_for_ptr15986 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for constPtr (without RTTI) in use_rtti_for_ptr[all …]
15875 PASS: gdb.mi/mi-var-rtti.exp: create varobj for ptr (without RTTI) in use_rtti_for_ptr15876 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr (without RTTI) in use_rtti_for_ptr15877 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr.public (without RTTI) in use_rtti_for_ptr15878 PASS: gdb.mi/mi-var-rtti.exp: check ptr->A (without RTTI) in use_rtti_for_ptr15879 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for ptr (without RTTI) in use_rtti_for_ptr15880 PASS: gdb.mi/mi-var-rtti.exp: create varobj for constPtr (without RTTI) in use_rtti_for_ptr15881 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr (without RTTI) in use_rtti_for_ptr15882 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr.public (without RTTI) in use_rtti_for_ptr15883 PASS: gdb.mi/mi-var-rtti.exp: check constPtr->A (without RTTI) in use_rtti_for_ptr15884 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for constPtr (without RTTI) in use_rtti_for_ptr[all …]