================ @@ -70,15 +73,17 @@ class SourceManager { protected: /// Set file and update modification time. - void SetFileSpec(FileSpec file_spec); + void SetSupportFile(lldb::SupportFileSP support_file_sp); bool CalculateLineOffsets(uint32_t line = UINT32_MAX); - FileSpec m_file_spec_orig; // The original file spec that was used (can be - // different from m_file_spec) - FileSpec m_file_spec; // The actually file spec being used (if the target - // has source mappings, this might be different from - // m_file_spec_orig) + /// The original support file that was used. + lldb::SupportFileSP m_original_support_file_sp; + + /// The actually support file being used. If the target + /// has source mappings, this might be different from + /// the original support file. ---------------- adrian-prantl wrote:
Is this yet another case where one support file may have different mappings in two targets at the same time? (Asking whether this is the right ownership again) https://github.com/llvm/llvm-project/pull/106639 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits