[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://r
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077
show more ...
[lldb] Remove m_last_file_sp from SourceManagerSummary:...and replace it with m_last_file_spec instead.When Source Cache is enabled, the value stored in m_last_file_sp isalready in the Source C
[lldb] Remove m_last_file_sp from SourceManagerSummary:...and replace it with m_last_file_spec instead.When Source Cache is enabled, the value stored in m_last_file_sp isalready in the Source Cache, and caching it again in SourceManagerbrings no extra benefit. All we need is to "remember" the last usedfile, and FileSpec can serve the same purpose.When Source Cache is disabled, the user explicitly requested no cachingof source files, and therefore, m_last_file_sp should NOT be used.Bug: llvm.org/PR45310Depends on D76805.Reviewers: labath, jinghamReviewed By: jinghamSubscribers: labath, lldb-commitsTags: #lldbDifferential Revision: https://reviews.llvm.org/D76806