[Lldb-commits] [lldb] [lldb-dap] Add 'source' references to stack frames without source files. (PR #128268)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Sat Feb 22 15:20:23 PST 2025


================
@@ -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


More information about the lldb-commits mailing list