@@ -255,7 +255,7 @@ SwiftLanguageRuntimeImpl::GetMemoryReader() {
255
255
m_process, [&](swift::remote::RemoteAbsolutePointer pointer) {
256
256
ThreadSafeReflectionContext reflection_context =
257
257
GetReflectionContext ();
258
- return reflection_context->stripSignedPointer (pointer);
258
+ return reflection_context->StripSignedPointer (pointer);
259
259
}));
260
260
}
261
261
@@ -669,7 +669,7 @@ SwiftLanguageRuntimeImpl::GetNumChildren(CompilerType type,
669
669
return {};
670
670
671
671
ThreadSafeReflectionContext reflection_ctx = GetReflectionContext ();
672
- auto &builder = reflection_ctx->getBuilder ();
672
+ auto &builder = reflection_ctx->GetBuilder ();
673
673
auto tc = swift::reflection::TypeConverter (builder);
674
674
LLDBTypeInfoProvider tip (*this , *ts);
675
675
auto *cti = tc.getClassInstanceTypeInfo (tr, 0 , &tip);
@@ -743,7 +743,7 @@ SwiftLanguageRuntimeImpl::GetNumFields(CompilerType type,
743
743
return referent.GetNumFields (exe_ctx);
744
744
return 0 ;
745
745
case ReferenceKind::Strong:
746
- TypeConverter tc (GetReflectionContext ()->getBuilder ());
746
+ TypeConverter tc (GetReflectionContext ()->GetBuilder ());
747
747
LLDBTypeInfoProvider tip (*this , *ts);
748
748
auto *cti = tc.getClassInstanceTypeInfo (tr, 0 , &tip);
749
749
if (auto *rti = llvm::dyn_cast_or_null<RecordTypeInfo>(cti)) {
@@ -876,7 +876,7 @@ SwiftLanguageRuntimeImpl::GetIndexOfChildMemberWithName(
876
876
child_indexes);
877
877
case ReferenceKind::Strong: {
878
878
ThreadSafeReflectionContext reflection_ctx = GetReflectionContext ();
879
- auto &builder = reflection_ctx->getBuilder ();
879
+ auto &builder = reflection_ctx->GetBuilder ();
880
880
TypeConverter tc (builder);
881
881
LLDBTypeInfoProvider tip (*this , *ts);
882
882
// `current_tr` iterates the class hierarchy, from the current class, each
@@ -1367,7 +1367,7 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_Pack(
1367
1367
return {};
1368
1368
}
1369
1369
1370
- auto *type_ref = reflection_ctx->readTypeFromMetadata (md);
1370
+ auto *type_ref = reflection_ctx->ReadTypeFromMetadata (md);
1371
1371
if (!type_ref) {
1372
1372
LLDB_LOGF (log,
1373
1373
" cannot decode pack_expansion type: failed to decode type "
@@ -1394,7 +1394,7 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_Pack(
1394
1394
1395
1395
// Build a TypeRef from the demangle tree.
1396
1396
auto typeref_or_err =
1397
- decodeMangledType (reflection_ctx->getBuilder (), pack_element);
1397
+ decodeMangledType (reflection_ctx->GetBuilder (), pack_element);
1398
1398
if (typeref_or_err.isError ()) {
1399
1399
LLDB_LOGF (log, " Couldn't get TypeRef for %s" ,
1400
1400
pack_type.GetMangledTypeName ().GetCString ());
@@ -1404,7 +1404,7 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_Pack(
1404
1404
1405
1405
// Apply the substitutions.
1406
1406
auto bound_typeref =
1407
- typeref->subst (reflection_ctx->getBuilder (), substitutions);
1407
+ typeref->subst (reflection_ctx->GetBuilder (), substitutions);
1408
1408
swift::Demangle::NodePointer node = bound_typeref->getDemangling (dem);
1409
1409
CompilerType type = ts->RemangleAsType (dem, node);
1410
1410
@@ -1556,7 +1556,7 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_Class(
1556
1556
}
1557
1557
Log *log (GetLog (LLDBLog::Types));
1558
1558
ThreadSafeReflectionContext reflection_ctx = GetReflectionContext ();
1559
- const auto *typeref = reflection_ctx->readTypeFromInstance (instance_ptr);
1559
+ const auto *typeref = reflection_ctx->ReadTypeFromInstance (instance_ptr);
1560
1560
if (!typeref) {
1561
1561
LLDB_LOGF (log,
1562
1562
" could not read typeref for type: %s (instance_ptr = 0x%" PRIx64
@@ -1707,7 +1707,7 @@ bool SwiftLanguageRuntimeImpl::GetDynamicTypeAndAddress_Protocol(
1707
1707
swift::remote::RemoteAddress remote_existential (existential_address);
1708
1708
1709
1709
ThreadSafeReflectionContext reflection_ctx = GetReflectionContext ();
1710
- auto pair = reflection_ctx->projectExistentialAndUnwrapClass (
1710
+ auto pair = reflection_ctx->ProjectExistentialAndUnwrapClass (
1711
1711
remote_existential, *protocol_typeref);
1712
1712
if (use_local_buffer)
1713
1713
PopLocalBuffer ();
@@ -1819,7 +1819,7 @@ CompilerType SwiftLanguageRuntimeImpl::BindGenericTypeParameters(
1819
1819
NodePointer unbound_node =
1820
1820
dem.demangleSymbol (unbound_type.GetMangledTypeName ().GetStringRef ());
1821
1821
auto type_ref_or_err =
1822
- decodeMangledType (reflection_ctx->getBuilder (), unbound_node);
1822
+ decodeMangledType (reflection_ctx->GetBuilder (), unbound_node);
1823
1823
if (type_ref_or_err.isError ()) {
1824
1824
LLDB_LOG (GetLog (LLDBLog::Expressions | LLDBLog::Types),
1825
1825
" Couldn't get TypeRef of unbound type." );
@@ -1845,7 +1845,7 @@ CompilerType SwiftLanguageRuntimeImpl::BindGenericTypeParameters(
1845
1845
NodePointer child_node =
1846
1846
dem.demangleSymbol (type.GetMangledTypeName ().GetStringRef ());
1847
1847
auto type_ref_or_err =
1848
- decodeMangledType (reflection_ctx->getBuilder (), child_node);
1848
+ decodeMangledType (reflection_ctx->GetBuilder (), child_node);
1849
1849
if (type_ref_or_err.isError ()) {
1850
1850
LLDB_LOG (GetLog (LLDBLog::Expressions | LLDBLog::Types),
1851
1851
" Couldn't get TypeRef when binding generic type parameters." );
@@ -1863,7 +1863,7 @@ CompilerType SwiftLanguageRuntimeImpl::BindGenericTypeParameters(
1863
1863
1864
1864
// Apply the substitutions.
1865
1865
const swift::reflection::TypeRef *bound_type_ref =
1866
- type_ref->subst (reflection_ctx->getBuilder (), substitutions);
1866
+ type_ref->subst (reflection_ctx->GetBuilder (), substitutions);
1867
1867
NodePointer node = bound_type_ref->getDemangling (dem);
1868
1868
return ts->GetTypeSystemSwiftTypeRef ().RemangleAsType (dem, node);
1869
1869
}
@@ -1901,7 +1901,7 @@ SwiftLanguageRuntimeImpl::BindGenericTypeParameters(StackFrame &stack_frame,
1901
1901
if (!metadata_location)
1902
1902
return ;
1903
1903
const swift::reflection::TypeRef *type_ref =
1904
- reflection_ctx->readTypeFromMetadata (*metadata_location);
1904
+ reflection_ctx->ReadTypeFromMetadata (*metadata_location);
1905
1905
if (!type_ref)
1906
1906
return ;
1907
1907
substitutions.insert ({{depth, index}, type_ref});
@@ -1919,7 +1919,7 @@ SwiftLanguageRuntimeImpl::BindGenericTypeParameters(StackFrame &stack_frame,
1919
1919
1920
1920
// Build a TypeRef from the demangle tree.
1921
1921
auto type_ref_or_err =
1922
- decodeMangledType (reflection_ctx->getBuilder (), canonical);
1922
+ decodeMangledType (reflection_ctx->GetBuilder (), canonical);
1923
1923
if (type_ref_or_err.isError ()) {
1924
1924
LLDB_LOG (GetLog (LLDBLog::Expressions | LLDBLog::Types),
1925
1925
" Couldn't get TypeRef" );
@@ -1929,7 +1929,7 @@ SwiftLanguageRuntimeImpl::BindGenericTypeParameters(StackFrame &stack_frame,
1929
1929
1930
1930
// Apply the substitutions.
1931
1931
const swift::reflection::TypeRef *bound_type_ref =
1932
- type_ref->subst (reflection_ctx->getBuilder (), substitutions);
1932
+ type_ref->subst (reflection_ctx->GetBuilder (), substitutions);
1933
1933
NodePointer node = bound_type_ref->getDemangling (dem);
1934
1934
1935
1935
// Import the type into the scratch context. Subsequent conversions
@@ -2166,7 +2166,7 @@ SwiftLanguageRuntimeImpl::GetValueType(ValueObject &in_value,
2166
2166
swift::remote::RemoteAddress remote_existential (existential_address);
2167
2167
ThreadSafeReflectionContext reflection_ctx = GetReflectionContext ();
2168
2168
llvm::Optional<bool > is_inlined =
2169
- reflection_ctx->isValueInlinedInExistentialContainer (
2169
+ reflection_ctx->IsValueInlinedInExistentialContainer (
2170
2170
remote_existential);
2171
2171
2172
2172
if (use_local_buffer)
@@ -2648,7 +2648,7 @@ SwiftLanguageRuntimeImpl::GetTypeRef(CompilerType type,
2648
2648
return nullptr ;
2649
2649
2650
2650
auto type_ref_or_err =
2651
- swift::Demangle::decodeMangledType (reflection_ctx->getBuilder (), node);
2651
+ swift::Demangle::decodeMangledType (reflection_ctx->GetBuilder (), node);
2652
2652
if (type_ref_or_err.isError ()) {
2653
2653
LLDB_LOGF (log,
2654
2654
" [SwiftLanguageRuntimeImpl::GetTypeRef] Could not find typeref "
@@ -2723,7 +2723,7 @@ SwiftLanguageRuntimeImpl::GetSwiftRuntimeTypeInfo(
2723
2723
return nullptr ;
2724
2724
2725
2725
LLDBTypeInfoProvider provider (*this , *ts);
2726
- return reflection_ctx->getTypeInfo (type_ref, &provider);
2726
+ return reflection_ctx->GetTypeInfo (type_ref, &provider);
2727
2727
}
2728
2728
2729
2729
bool SwiftLanguageRuntimeImpl::IsStoredInlineInBuffer (CompilerType type) {
0 commit comments