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