Skip to content

Commit 5c9b85d

Browse files
AnthonyLatsisbnbarham
authored andcommitted
[LLDB] Swift: Refactor call to now protected method
Per c4fb718. (cherry picked from commit 26e0ab5)
1 parent c9f9633 commit 5c9b85d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2987,8 +2987,7 @@ std::optional<SwiftNominalType> GetSwiftClass(ValueObject &valobj,
29872987

29882988
auto isa_load_addr = descriptor_sp->GetISA();
29892989
Address isa;
2990-
const auto &sections = objc_runtime.GetTargetRef().GetSectionLoadList();
2991-
if (!sections.ResolveLoadAddress(isa_load_addr, isa))
2990+
if (!objc_runtime.GetTargetRef().ResolveLoadAddress(isa_load_addr, isa))
29922991
return {};
29932992

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

0 commit comments

Comments
 (0)