================ @@ -621,22 +623,25 @@ DataExtractor data(arg_data.GetBytes(), arg_data_size, } Environment &proc_env = process_info.GetEnvironment(); + bool is_simulator = false; while ((cstr = data.GetCStr(&offset))) { ---------------- clayborg wrote:
Lets use llvm::StringRef here, you will see why below: ``` while (true) { llvm::StringRef env_var(data.GetCStr(&offset)); if (env_var.empty()) break; ``` https://github.com/llvm/llvm-project/pull/139174 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits