Skip to content

Commit 12427c6

Browse files
committed
[LLDB] Swift: Refactor call to now protected method
Per c4fb718.
1 parent fdb7858 commit 12427c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntimeDynamicTypeResolution.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -2905,8 +2905,7 @@ std::optional<SwiftNominalType> GetSwiftClass(ValueObject &valobj,
29052905

29062906
auto isa_load_addr = descriptor_sp->GetISA();
29072907
Address isa;
2908-
const auto &sections = objc_runtime.GetTargetRef().GetSectionLoadList();
2909-
if (!sections.ResolveLoadAddress(isa_load_addr, isa))
2908+
if (!objc_runtime.GetTargetRef().ResolveLoadAddress(isa_load_addr, isa))
29102909
return {};
29112910

29122911
// Next, iterate over the Module's symbol table, looking for a symbol with

0 commit comments

Comments
 (0)