================ @@ -5066,3 +5066,17 @@ llvm::json::Value Target::ReportStatistics(const lldb_private::StatisticsOptions &options) { return m_stats.ToJSON(*this, options); } + +bool Target::SectionLoadListIsEmpty() const { + return const_cast<Target *>(this)->GetSectionLoadList().IsEmpty(); ---------------- JDevlieghere wrote:
To avoid the `const_cast`, can we have a `const` `GetSectionLoadList` overload? `SectionLoadHistory::IsEmpty()` is already `const`. https://github.com/llvm/llvm-project/pull/113278 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits