/llvm-project/lldb/test/Shell/SymbolFile/PDB/ |
H A D | typedefs.test | 16 CHECK-DAG: name = "char32_t", size = 4, compiler_type = {{.*}} char32_t 17 CHECK-DAG: name = "char16_t", size = 2, compiler_type = {{.*}} char16_t 18 CHECK-DAG: Type{{.*}} , name = "unsigned long", size = 4, compiler_type = {{.*}} unsigned long 19 CHECK-DAG: Type{{.*}} , size = 40, compiler_type = {{.*}} unsigned long[10] 21 ; Note: compiler_type of `long double` is represented by the one for `double` 22 CHECK-DAG: Type{{.*}} , name = "double", size = 8, compiler_type = {{.*}} double 23 CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} double * 24 CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} double *& 25 CHECK-DAG: Type{{.*}} , name = "RefTypedef", compiler_type = {{.*}} typedef RefTypedef 27 CHECK-DAG: Type{{.*}} , name = "wchar_t", size = 2, compiler_type = {{.*}} wchar_t [all …]
|
H A D | type-quals.test | 8 CHECK-DAG: Type{{.*}} , name = "const int", size = 4, compiler_type = {{.*}} const int 9 CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} const int * 10 CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} const int **const 11 CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} const int *const 12 CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} const int *const * 13 CHECK-DAG: Type{{.*}} , name = "Func1", {{.*}}, compiler_type = {{.*}} void (const int *, const int *, const int **const, const int *const *) 15 CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} volatile int * 16 CHECK-DAG: Type{{.*}} , name = "Func2", {{.*}}, compiler_type = {{.*}} void (volatile int *, volatile int *) 18 CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} int * 19 CHECK-DAG: Type{{.*}} , size = 4, compiler_type [all...] |
H A D | func-symbols.test | 11 CHECK-ONE-DAG: [[TY0:.*]]: Type{[[UID0:.*]]} , name = "Func_arg_array", decl = FuncSymbolsTestMain.cpp:3, compiler_type = {{.*}} int (int *) 12 CHECK-ONE-DAG: [[TY1:.*]]: Type{[[UID1:.*]]} , name = "Func_arg_void", decl = FuncSymbolsTestMain.cpp:4, compiler_type = {{.*}} void (void) 13 CHECK-ONE-DAG: [[TY2:.*]]: Type{[[UID2:.*]]} , name = "Func_arg_none", decl = FuncSymbolsTestMain.cpp:5, compiler_type = {{.*}} void (void) 14 CHECK-ONE-DAG: [[TY3:.*]]: Type{[[UID3:.*]]} , name = "Func_varargs", decl = FuncSymbolsTestMain.cpp:6, compiler_type = {{.*}} void (...) 15 CHECK-ONE-DAG: [[TY4:.*]]: Type{[[UID4:.*]]} , name = "Func", decl = FuncSymbolsTestMain.cpp:28, compiler_type = {{.*}} void (char, int) 16 CHECK-ONE-DAG: [[TY5:.*]]: Type{[[UID5:.*]]} , name = "main", decl = FuncSymbolsTestMain.cpp:44, compiler_type = {{.*}} int (void) 17 CHECK-ONE-DAG: [[TY6:.*]]: Type{[[UID6:.*]]} , name = "Func", decl = FuncSymbolsTestMain.cpp:24, compiler_type = {{.*}} void (int, const long, volatile _Bool, ...) 18 CHECK-ONE-DAG: [[TY7:.*]]: Type{[[UID7:.*]]} , name = "StaticFunction", decl = FuncSymbolsTestMain.cpp:35, compiler_type = {{.*}} long (int) 19 CHECK-ONE-DAG: [[TY8:.*]]: Type{[[UID8:.*]]} , name = "Func", decl = FuncSymbolsTestMain.cpp:12, compiler_type = {{.*}} int (int, ...) 20 CHECK-ONE-DAG: [[TY9:.*]]: Type{[[UID9:.*]]} , name = "TemplateFunc<1,int>", decl = FuncSymbolsTestMain.cpp:18, compiler_type [all...] |
H A D | enums-layout.test | 13 …"Enum", size = 4, decl = {{[Ss]}}imple{{[Tt]}}ypes{{[Tt]}}est.cpp:19, compiler_type = {{.*}} enum … 19 …onst", size = 4, decl = {{[Ss]}}imple{{[Tt]}}ypes{{[Tt]}}est.cpp:22, compiler_type = {{.*}} enum … 25 …mpty", size = 4, decl = {{[Ss]}}imple{{[Tt]}}ypes{{[Tt]}}est.cpp:25, compiler_type = {{.*}} enum … 28 …Char", size = 1, decl = {{[Ss]}}imple{{[Tt]}}ypes{{[Tt]}}est.cpp:28, compiler_type = {{.*}} enum … 35 …lass", size = 4, decl = {{[Ss]}}imple{{[Tt]}}ypes{{[Tt]}}est.cpp:32, compiler_type = {{.*}} enum … 41 …ruct", size = 4, decl = {{[Ss]}}imple{{[Tt]}}ypes{{[Tt]}}est.cpp:35, compiler_type = {{.*}} enum …
|
/llvm-project/lldb/source/Core/ |
H A D | ValueObjectConstResult.cpp |
|
H A D | ValueObjectConstResultImpl.cpp |
|
H A D | ValueObjectConstResultChild.cpp |
|
/llvm-project/lldb/source/Plugins/ABI/X86/ |
H A D | ABIMacOSX_i386.cpp | 167 CompilerType compiler_type(value->GetCompilerType()); in GetArgumentValues() local 168 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() 171 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues() 174 else if (compiler_type.IsPointerType()) in GetArgumentValues() 191 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local 192 if (!compiler_type) { in SetReturnValueObject() 206 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 207 compiler_type.IsPointerType()) { in SetReturnValueObject() 242 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject() 260 CompilerType &compiler_type) cons in GetReturnValueObjectImpl() [all...] |
H A D | ABIWindows_x86_64.cpp | 277 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local 278 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() 283 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 287 } else if (compiler_type.IsPointerType()) { in GetArgumentValues() 305 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local 306 if (!compiler_type) { in SetReturnValueObject() 320 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 321 compiler_type.IsPointerType()) { in SetReturnValueObject() 344 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject() 350 compiler_type in SetReturnValueObject() [all...] |
H A D | ABISysV_x86_64.cpp | 271 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() 272 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() 277 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 281 } else if (compiler_type.IsPointerType()) { in GetArgumentValues() 299 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() 300 if (!compiler_type) { in SetReturnValueObject() 314 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 315 compiler_type.IsPointerType()) { in SetReturnValueObject() 338 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject() 344 compiler_type in SetReturnValueObject() 270 CompilerType compiler_type = value->GetCompilerType(); GetArgumentValues() local 298 CompilerType compiler_type = new_value_sp->GetCompilerType(); SetReturnValueObject() local [all...] |
H A D | ABISysV_i386.cpp | 184 CompilerType compiler_type(value->GetCompilerType()); in GetArgumentValues() local 185 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() 188 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 191 } else if (compiler_type.IsPointerType()) { in GetArgumentValues() 208 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local 209 if (!compiler_type) { in SetReturnValueObject() 214 const uint32_t type_flags = compiler_type.GetTypeInfo(); in SetReturnValueObject()
|
/llvm-project/lldb/source/Symbol/ |
H A D | Variable.cpp | 466 const CompilerType &compiler_type, CompletionRequest &request); 473 const CompilerType &compiler_type, CompletionRequest &request) { in PrivateAutoCompleteMembers() 476 const uint32_t num_bases = compiler_type.GetNumDirectBaseClasses(); in PrivateAutoCompleteMembers() 481 compiler_type.GetDirectBaseClassAtIndex(i, nullptr); in PrivateAutoCompleteMembers() 489 const uint32_t num_vbases = compiler_type.GetNumVirtualBaseClasses(); in PrivateAutoCompleteMembers() 494 compiler_type.GetVirtualBaseClassAtIndex(i, nullptr); in PrivateAutoCompleteMembers() 503 const uint32_t num_fields = compiler_type.GetNumFields(); in PrivateAutoCompleteMembers() 509 CompilerType member_compiler_type = compiler_type.GetFieldAtIndex( in PrivateAutoCompleteMembers() 534 const CompilerType &compiler_type, CompletionRequest &request) { in PrivateAutoComplete() 539 const lldb::TypeClass type_class = compiler_type in PrivateAutoComplete() 475 PrivateAutoCompleteMembers(StackFrame * frame,const std::string & partial_member_name,llvm::StringRef partial_path,const llvm::Twine & prefix_path,const CompilerType & compiler_type,CompletionRequest & request) PrivateAutoCompleteMembers() argument 536 PrivateAutoComplete(StackFrame * frame,llvm::StringRef partial_path,const llvm::Twine & prefix_path,const CompilerType & compiler_type,CompletionRequest & request) PrivateAutoComplete() argument 722 CompilerType compiler_type; AutoComplete() local [all...] |
/llvm-project/lldb/source/DataFormatters/ |
H A D | FormatManager.cpp | 175 ValueObject &valobj, CompilerType compiler_type, in GetPossibleMatches() argument 178 compiler_type = compiler_type.GetTypeForFormatters(); in GetPossibleMatches() 179 ConstString type_name(compiler_type.GetTypeName()); in GetPossibleMatches() 193 TypeImpl(compiler_type), current_flags}); in GetPossibleMatches() 196 if (!compiler_type.IsMeaninglessWithoutDynamicResolution()) { in GetPossibleMatches() 197 entries.push_back({type_name, script_interpreter, TypeImpl(compiler_type), in GetPossibleMatches() 200 ConstString display_type_name(compiler_type.GetTypeName()); in GetPossibleMatches() 203 TypeImpl(compiler_type), current_flags}); in GetPossibleMatches() 207 j && compiler_type in GetPossibleMatches() 475 CompilerType compiler_type(valobj.GetCompilerType()); ShouldPrintAsOneLiner() local [all...] |
H A D | TypeFormat.cpp | 66 CompilerType compiler_type = value.GetCompilerType(); in FormatObject() local 67 if (compiler_type) { in FormatObject() 71 lldb_private::Flags type_flags(compiler_type.GetTypeInfo( in FormatObject() 99 std::optional<uint64_t> size = compiler_type.GetByteSize(exe_scope); in FormatObject() 103 compiler_type.DumpTypeValue( in FormatObject()
|
/llvm-project/lldb/include/lldb/Core/ |
H A D | ValueObjectConstResult.h |
|
/llvm-project/lldb/source/Plugins/ABI/ARM/ |
H A D | ABISysV_arm.cpp | 1449 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() 1450 if (compiler_type) { in GetArgumentValues() 1453 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in GetArgumentValues() 1454 compiler_type.IsPointerOrReferenceType()) { in GetArgumentValues() 1455 if (std::optional<uint64_t> size = compiler_type.GetBitSize(&thread)) in GetArgumentValues() 1535 Thread &thread, lldb_private::CompilerType &compiler_type) const { in IsArmHardFloat() 1539 if (!compiler_type) in IsArmHardFloat() 1543 // compiler_type.GetOpaqueQualType()); in GetReturnValueObjectImpl() 1544 value.SetCompilerType(compiler_type); in GetReturnValueObjectImpl() 1562 std::optional<uint64_t> bit_width = compiler_type in GetReturnValueObjectImpl() 1456 CompilerType compiler_type = value->GetCompilerType(); GetArgumentValues() local 1838 CompilerType compiler_type = new_value_sp->GetCompilerType(); SetReturnValueObject() local [all...] |
H A D | ABIMacOSX_arm.cpp | 1446 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() 1447 if (compiler_type) { in GetArgumentValues() 1450 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() 1453 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues() 1455 else if (compiler_type.IsPointerOrReferenceType()) in GetArgumentValues() 1536 Thread &thread, lldb_private::CompilerType &compiler_type) const { in IsArmv7kProcess() 1540 if (!compiler_type) 1543 value.SetCompilerType(compiler_type); in GetReturnValueObjectImpl() 1555 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl() 1556 std::optional<uint64_t> bit_width = compiler_type in GetReturnValueObjectImpl() 1452 CompilerType compiler_type = value->GetCompilerType(); GetArgumentValues() local 1693 CompilerType compiler_type = new_value_sp->GetCompilerType(); SetReturnValueObject() local [all...] |
/llvm-project/lldb/source/Plugins/ABI/ARC/ |
H A D | ABISysV_arc.cpp | 319 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local 320 if (!compiler_type) { in SetReturnValueObject() 328 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetReturnValueObject() 329 !compiler_type.IsPointerType()) { in SetReturnValueObject() 448 CompilerType &compiler_type) const { in GetReturnValueObjectSimple() 449 if (!compiler_type) in GetReturnValueObjectSimple() 457 value.SetCompilerType(compiler_type); in GetReturnValueObjectSimple() 459 const uint32_t type_flags = compiler_type.GetTypeInfo(); in GetReturnValueObjectSimple() 462 const size_t byte_size = compiler_type.GetByteSize(&thread).value_or(0); in GetReturnValueObjectSimple() 484 if (compiler_type in GetReturnValueObjectSimple() [all...] |
/llvm-project/lldb/source/Plugins/SymbolFile/CTF/ |
H A D | SymbolFileCTF.cpp | 344 CompilerType compiler_type = m_ast->GetBasicType(basic_type); in CreateInteger() 349 if (!compiler_type.IsIntegerType(compiler_type_is_signed)) in CreateInteger() 354 compiler_type.GetDisplayTypeName().GetStringRef()), in CreateInteger() 372 lldb_private::Type::eEncodingIsUID, decl, compiler_type, in CreateInteger() 384 CompilerType compiler_type; in CreateModifier() 388 compiler_type = ref_type->GetFullCompilerType().GetPointerType(); in CreateModifier() 391 compiler_type = ref_type->GetFullCompilerType().AddConstModifier(); in CreateModifier() 394 compiler_type = ref_type->GetFullCompilerType().AddVolatileModifier(); in CreateModifier() 397 compiler_type = ref_type->GetFullCompilerType().AddRestrictModifier(); in CreateModifier() 408 Type::eEncodingIsUID, decl, compiler_type, in CreateModifier() 343 CompilerType compiler_type = m_ast->GetBasicType(basic_type); CreateInteger() local 383 CompilerType compiler_type; CreateModifier() local 448 CompilerType compiler_type = m_ast->CreateArrayType( CreateArray() local 516 CompleteType(CompilerType & compiler_type) CompleteType() argument [all...] |
/llvm-project/lldb/unittests/SymbolFile/PDB/ |
H A D | SymbolFilePDBTests.cpp | 371 CompilerType compiler_type = udt_type->GetForwardCompilerType(); in TEST_F() local 372 EXPECT_TRUE(TypeSystemClang::IsClassType(compiler_type.GetOpaqueQualType())); in TEST_F() 426 CompilerType compiler_type = udt_type->GetForwardCompilerType(); in TEST_F() local 427 EXPECT_TRUE(TypeSystemClang::IsClassType(compiler_type.GetOpaqueQualType())); in TEST_F() 470 CompilerType compiler_type = udt_type->GetForwardCompilerType(); in TEST_F() local 471 EXPECT_TRUE(TypeSystemClang::IsClassType(compiler_type.GetOpaqueQualType())); in TEST_F() 494 CompilerType compiler_type = enum_type->GetFullCompilerType(); in TEST_F() local 495 EXPECT_TRUE(TypeSystemClang::IsEnumType(compiler_type.GetOpaqueQualType())); in TEST_F() 496 clang::EnumDecl *enum_decl = TypeSystemClang::GetAsEnumDecl(compiler_type); in TEST_F() 541 CompilerType compiler_type = typedef_type->GetFullCompilerType(); in TEST_F() local [all …]
|
/llvm-project/lldb/source/Plugins/ABI/SystemZ/ |
H A D | ABISysV_s390x.cpp | 358 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local 359 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() 364 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues() 368 } else if (compiler_type.IsPointerType()) { in GetArgumentValues() 386 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() local 387 if (!compiler_type) { in SetReturnValueObject() 401 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 402 compiler_type.IsPointerType()) { in SetReturnValueObject() 425 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject() 431 compiler_type in SetReturnValueObject() [all...] |
/llvm-project/lldb/source/Plugins/ABI/RISCV/ |
H A D | ABISysV_riscv.cpp | 375 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetSizedInteger() 376 if (!compiler_type) { in SetSizedInteger() 384 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetSizedInteger() 385 !compiler_type.IsPointerType()) { in SetSizedInteger() 610 CompilerType &compiler_type) const { in GetReturnValueObjectImpl() 613 if (!compiler_type) in GetReturnValueObjectImpl() 621 value.SetCompilerType(compiler_type); in GetReturnValueObjectImpl() 623 const uint32_t type_flags = compiler_type.GetTypeInfo(); in GetReturnValueObjectImpl() 624 const size_t byte_size = compiler_type.GetByteSize(&thread).value_or(0); in GetReturnValueObjectImpl() 648 if (compiler_type in CreateFunctionEntryUnwindPlan() 297 CompilerType compiler_type = new_value_sp->GetCompilerType(); SetReturnValueObject() local [all...] |
/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
H A D | PDBASTParser.cpp | 162 CompilerType &compiler_type) { in GetPDBBuiltinTypeName() argument 190 return compiler_type.GetTypeName(); in GetPDBBuiltinTypeName() 794 lldb_private::CompilerType &compiler_type) { in CompleteTypeFromPDB() argument 795 if (GetClangASTImporter().CanImport(compiler_type)) in CompleteTypeFromPDB() 796 return GetClangASTImporter().CompleteType(compiler_type); in CompleteTypeFromPDB() 801 m_ast.GetAsCXXRecordDecl(compiler_type.GetOpaqueQualType()); in CompleteTypeFromPDB() 818 TypeSystemClang::SetHasExternalStorage(compiler_type.GetOpaqueQualType(), in CompleteTypeFromPDB() 827 return CompleteTypeFromUDT(*symbol_file, compiler_type, *udt); in CompleteTypeFromPDB() 1202 lldb_private::CompilerType &compiler_type, in CompleteTypeFromUDT() argument 1214 AddRecordBases(symbol_file, compiler_type, in CompleteTypeFromUDT() [all...] |
/llvm-project/lldb/include/lldb/Symbol/ |
H A D | TaggedASTType.h | 20 TaggedASTType(const CompilerType &compiler_type) in TaggedASTType() argument 21 : CompilerType(compiler_type) {} in TaggedASTType()
|
/llvm-project/lldb/source/Plugins/ABI/PowerPC/ |
H A D | ABISysV_ppc.cpp | 397 CompilerType compiler_type = value->GetCompilerType(); in GetArgumentValues() local 398 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() 402 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues() 406 else if (compiler_type.IsPointerType()) in GetArgumentValues() 421 CompilerType compiler_type = new_value_sp->GetCompilerType(); in SetReturnValueObject() 422 if (!compiler_type) in SetReturnValueObject() 434 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject() 435 compiler_type.IsPointerType()) { in SetReturnValueObject() 456 } else if (compiler_type.IsFloatingPointType(count, is_complex)) { in SetReturnValueObject() 462 compiler_type in SetReturnValueObject() 423 CompilerType compiler_type = new_value_sp->GetCompilerType(); SetReturnValueObject() local [all...] |