You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[lldb] Make use of target triple in TypeSystemSwiftTypeRef (#6692) (#6790)
Update `TypeSystemSwiftTypeRef::GetTriple` to make use of an available target.
With this change, `GetNameImporter` can work in more cases, since it only needs a
triple. And since `GetNameImporter` can be expected to return a `ClangNameImporter`
instance, the fallback to using Swift ASTContexts can be removed.
This eliminates another case of unnecessarily loading Swift ASTContexts, which incurs a
one time overhead that should only be paid when required.
Partial follow up to #6654
(cherry-picked from commit f097595)
0 commit comments