[Lldb-commits] [lldb] [llvm] [lldb] Update StreamGDBRemote to support llvm::ArrayRef (PR #203175)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 11 15:47:54 PDT 2026
================
@@ -4592,7 +4592,8 @@ GDBRemoteCommunicationServerLLGS::Handle_jAcceleratorPluginInitialize(
accelerator_actions.push_back(std::move(*actions));
}
StreamGDBRemote response;
- response.PutAsJSONArray(accelerator_actions, /*hex_ascii=*/false);
+ response.PutAsJSONArray<AcceleratorActions>(accelerator_actions,
----------------
qcoelh0 wrote:
ArrayRef has an implicit constructor from std::vector, however PutAsJSONArray is templated on ArrayRef<T>, which AFAIK prevents type resolution through implicit constructors.
Let me know if known of an alternative.
https://github.com/llvm/llvm-project/pull/203175
More information about the lldb-commits
mailing list