[Lldb-commits] [lldb] [lldb] Fix no compile unit crash. (PR #195853)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Tue May 5 08:21:42 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) {
----------------
adrian-prantl wrote:
If you are going to assume that ctx is non-null, why not pass in a `StackFrame&`?
https://github.com/llvm/llvm-project/pull/195853
More information about the lldb-commits
mailing list