[Lldb-commits] [lldb] [lldb] Fix no compile unit crash. (PR #195853)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Wed May 6 08:17:40 PDT 2026


================
@@ -44,11 +44,14 @@ static lldb::ValueObjectSP ArrayToPointerConversion(ValueObject &valobj,
 }
 
 static llvm::Expected<lldb::TypeSystemSP>
-GetTypeSystemFromCU(std::shared_ptr<StackFrame> ctx) {
+GetTypeSystemFromCU(const std::shared_ptr<StackFrame> &ctx) {
----------------
da-viper wrote:

Wanted to limit the change to that function only. Will update in the function callsites.

https://github.com/llvm/llvm-project/pull/195853


More information about the lldb-commits mailing list