================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to