================ @@ -698,14 +697,22 @@ llvm::json::Value CreateSource(llvm::StringRef source_path) { return llvm::json::Value(std::move(source)); } -static std::optional<llvm::json::Value> CreateSource(lldb::SBFrame &frame) { +static llvm::json::Value CreateSource(lldb::SBFrame &frame, ---------------- ashgti wrote:
Merged this into the only place that called the helper (`CreateStackFrame`) to make sure its more clear. https://github.com/llvm/llvm-project/pull/128268 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits