@@ -255,7 +255,7 @@ SwiftLanguageRuntimeImpl::GetMemoryReader() {
255255 m_process, [&](swift::remote::RemoteAbsolutePointer pointer) {
256256 ThreadSafeReflectionContext reflection_context =
257257 GetReflectionContext ();
258- return reflection_context->stripSignedPointer (pointer);
258+ return reflection_context->StripSignedPointer (pointer);
259259 }));
260260 }
261261
@@ -669,7 +669,7 @@ SwiftLanguageRuntimeImpl::GetNumChildren(CompilerType type,
669669 return {};
670670
671671 ThreadSafeReflectionContext reflection_ctx = GetReflectionContext ();
672- auto &builder = reflection_ctx->getBuilder ();
672+ auto &builder = reflection_ctx->GetBuilder ();
673673 auto tc = swift::reflection::TypeConverter (builder);
674674 LLDBTypeInfoProvider tip (*this , *ts);
675675 auto *cti = tc.getClassInstanceTypeInfo (tr, 0 , &tip);
@@ -743,7 +743,7 @@ SwiftLanguageRuntimeImpl::GetNumFields(CompilerType type,
743743 return referent.GetNumFields (exe_ctx);
744744 return 0 ;
745745 case ReferenceKind::Strong:
746- TypeConverter tc (GetReflectionContext ()->getBuilder ());
746+ TypeConverter tc (GetReflectionContext ()->GetBuilder ());
747747 LLDBTypeInfoProvider tip (*this , *ts);
748748 auto *cti = tc.getClassInstanceTypeInfo (tr, 0 , &tip);
749749 if (auto *rti = llvm::dyn_cast_or_null<RecordTypeInfo>(cti)) {
@@ -876,7 +876,7 @@ SwiftLanguageRuntimeImpl::GetIndexOfChildMemberWithName(
876876 child_indexes);
877877 case ReferenceKind::Strong: {
878878 ThreadSafeReflectionContext reflection_ctx = GetReflectionContext ();
879- auto &builder = reflection_ctx->getBuilder ();
879+ auto &builder = reflection_ctx->GetBuilder ();
880880 TypeConverter tc (builder);
881881 LLDBTypeInfoProvider tip (*this , *ts);
882882 // `current_tr` iterates the class hierarchy, from the current class, each
@@ -1367,7 +1367,7 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_Pack(
13671367 return {};
13681368 }
13691369
1370- auto *type_ref = reflection_ctx->readTypeFromMetadata (md);
1370+ auto *type_ref = reflection_ctx->ReadTypeFromMetadata (md);
13711371 if (!type_ref) {
13721372 LLDB_LOGF (log,
13731373 " cannot decode pack_expansion type: failed to decode type "
@@ -1394,7 +1394,7 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_Pack(
13941394
13951395 // Build a TypeRef from the demangle tree.
13961396 auto typeref_or_err =
1397- decodeMangledType (reflection_ctx->getBuilder (), pack_element);
1397+ decodeMangledType (reflection_ctx->GetBuilder (), pack_element);
13981398 if (typeref_or_err.isError ()) {
13991399 LLDB_LOGF (log, " Couldn't get TypeRef for %s" ,
14001400 pack_type.GetMangledTypeName ().GetCString ());
@@ -1404,7 +1404,7 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_Pack(
14041404
14051405 // Apply the substitutions.
14061406 auto bound_typeref =
1407- typeref->subst (reflection_ctx->getBuilder (), substitutions);
1407+ typeref->subst (reflection_ctx->GetBuilder (), substitutions);
14081408 swift::Demangle::NodePointer node = bound_typeref->getDemangling (dem);
14091409 CompilerType type = ts->RemangleAsType (dem, node);
14101410
@@ -1556,7 +1556,7 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_Class(
15561556 }
15571557 Log *log (GetLog (LLDBLog::Types));
15581558 ThreadSafeReflectionContext reflection_ctx = GetReflectionContext ();
1559- const auto *typeref = reflection_ctx->readTypeFromInstance (instance_ptr);
1559+ const auto *typeref = reflection_ctx->ReadTypeFromInstance (instance_ptr);
15601560 if (!typeref) {
15611561 LLDB_LOGF (log,
15621562 " could not read typeref for type: %s (instance_ptr = 0x%" PRIx64
@@ -1707,7 +1707,7 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_Protocol(
17071707 swift::remote::RemoteAddress remote_existential (existential_address);
17081708
17091709 ThreadSafeReflectionContext reflection_ctx = GetReflectionContext ();
1710- auto pair = reflection_ctx->projectExistentialAndUnwrapClass (
1710+ auto pair = reflection_ctx->ProjectExistentialAndUnwrapClass (
17111711 remote_existential, *protocol_typeref);
17121712 if (use_local_buffer)
17131713 PopLocalBuffer ();
@@ -1819,7 +1819,7 @@ CompilerType SwiftLanguageRuntimeImpl::BindGenericTypeParameters(
18191819 NodePointer unbound_node =
18201820 dem.demangleSymbol (unbound_type.GetMangledTypeName ().GetStringRef ());
18211821 auto type_ref_or_err =
1822- decodeMangledType (reflection_ctx->getBuilder (), unbound_node);
1822+ decodeMangledType (reflection_ctx->GetBuilder (), unbound_node);
18231823 if (type_ref_or_err.isError ()) {
18241824 LLDB_LOG (GetLog (LLDBLog::Expressions | LLDBLog::Types),
18251825 " Couldn't get TypeRef of unbound type." );
@@ -1845,7 +1845,7 @@ CompilerType SwiftLanguageRuntimeImpl::BindGenericTypeParameters(
18451845 NodePointer child_node =
18461846 dem.demangleSymbol (type.GetMangledTypeName ().GetStringRef ());
18471847 auto type_ref_or_err =
1848- decodeMangledType (reflection_ctx->getBuilder (), child_node);
1848+ decodeMangledType (reflection_ctx->GetBuilder (), child_node);
18491849 if (type_ref_or_err.isError ()) {
18501850 LLDB_LOG (GetLog (LLDBLog::Expressions | LLDBLog::Types),
18511851 " Couldn't get TypeRef when binding generic type parameters." );
@@ -1863,7 +1863,7 @@ CompilerType SwiftLanguageRuntimeImpl::BindGenericTypeParameters(
18631863
18641864 // Apply the substitutions.
18651865 const swift::reflection::TypeRef *bound_type_ref =
1866- type_ref->subst (reflection_ctx->getBuilder (), substitutions);
1866+ type_ref->subst (reflection_ctx->GetBuilder (), substitutions);
18671867 NodePointer node = bound_type_ref->getDemangling (dem);
18681868 return ts->GetTypeSystemSwiftTypeRef ().RemangleAsType (dem, node);
18691869}
@@ -1901,7 +1901,7 @@ SwiftLanguageRuntimeImpl::BindGenericTypeParameters(StackFrame &stack_frame,
19011901 if (!metadata_location)
19021902 return ;
19031903 const swift::reflection::TypeRef *type_ref =
1904- reflection_ctx->readTypeFromMetadata (*metadata_location);
1904+ reflection_ctx->ReadTypeFromMetadata (*metadata_location);
19051905 if (!type_ref)
19061906 return ;
19071907 substitutions.insert ({{depth, index}, type_ref});
@@ -1919,7 +1919,7 @@ SwiftLanguageRuntimeImpl::BindGenericTypeParameters(StackFrame &stack_frame,
19191919
19201920 // Build a TypeRef from the demangle tree.
19211921 auto type_ref_or_err =
1922- decodeMangledType (reflection_ctx->getBuilder (), canonical);
1922+ decodeMangledType (reflection_ctx->GetBuilder (), canonical);
19231923 if (type_ref_or_err.isError ()) {
19241924 LLDB_LOG (GetLog (LLDBLog::Expressions | LLDBLog::Types),
19251925 " Couldn't get TypeRef" );
@@ -1929,7 +1929,7 @@ SwiftLanguageRuntimeImpl::BindGenericTypeParameters(StackFrame &stack_frame,
19291929
19301930 // Apply the substitutions.
19311931 const swift::reflection::TypeRef *bound_type_ref =
1932- type_ref->subst (reflection_ctx->getBuilder (), substitutions);
1932+ type_ref->subst (reflection_ctx->GetBuilder (), substitutions);
19331933 NodePointer node = bound_type_ref->getDemangling (dem);
19341934
19351935 // Import the type into the scratch context. Subsequent conversions
@@ -2166,7 +2166,7 @@ SwiftLanguageRuntimeImpl::GetValueType(ValueObject &in_value,
21662166 swift::remote::RemoteAddress remote_existential (existential_address);
21672167 ThreadSafeReflectionContext reflection_ctx = GetReflectionContext ();
21682168 llvm::Optional<bool > is_inlined =
2169- reflection_ctx->isValueInlinedInExistentialContainer (
2169+ reflection_ctx->IsValueInlinedInExistentialContainer (
21702170 remote_existential);
21712171
21722172 if (use_local_buffer)
@@ -2648,7 +2648,7 @@ SwiftLanguageRuntimeImpl::GetTypeRef(CompilerType type,
26482648 return nullptr ;
26492649
26502650 auto type_ref_or_err =
2651- swift::Demangle::decodeMangledType (reflection_ctx->getBuilder (), node);
2651+ swift::Demangle::decodeMangledType (reflection_ctx->GetBuilder (), node);
26522652 if (type_ref_or_err.isError ()) {
26532653 LLDB_LOGF (log,
26542654 " [SwiftLanguageRuntimeImpl::GetTypeRef] Could not find typeref "
@@ -2723,7 +2723,7 @@ SwiftLanguageRuntimeImpl::GetSwiftRuntimeTypeInfo(
27232723 return nullptr ;
27242724
27252725 LLDBTypeInfoProvider provider (*this , *ts);
2726- return reflection_ctx->getTypeInfo (type_ref, &provider);
2726+ return reflection_ctx->GetTypeInfo (type_ref, &provider);
27272727}
27282728
27292729bool SwiftLanguageRuntimeImpl::IsStoredInlineInBuffer (CompilerType type) {
0 commit comments