aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
diff options
context:
space:
mode:
authorEvan Wilde <etceterawilde@gmail.com>2023-08-18 14:09:25 -0700
committerEvan Wilde <etceterawilde@gmail.com>2023-08-18 14:59:38 -0700
commit8806b4f9b1fce4cb62e93b21fd9c9cc5a45317e3 (patch)
tree2ef5eef92090f48f9d811cc07479f8ebb5445842 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
parenta7e20dd664bbce6e87b1fdad88d719e497902a42 (diff)
downloadllvm-8806b4f9b1fce4cb62e93b21fd9c9cc5a45317e3.zip
llvm-8806b4f9b1fce4cb62e93b21fd9c9cc5a45317e3.tar.gz
llvm-8806b4f9b1fce4cb62e93b21fd9c9cc5a45317e3.tar.bz2
Get LLDB building with clang-6 on Ubuntu 18.04
This patch gets clang-6 building with LLDB. The move from makeArrayRef to deduction guides in 984b800a036fc61ccb129a8da7592af9cadc94dd is tripping up clang-6 on Ubuntu 18.04. Related to issue #64782.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
index f9d95fc..65c7a0f 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
@@ -2304,7 +2304,7 @@ GDBRemoteCommunicationServerLLGS::Handle_P(StringExtractorGDBRemote &packet) {
// Build the reginfos response.
StreamGDBRemote response;
- RegisterValue reg_value(ArrayRef(m_reg_bytes, reg_size),
+ RegisterValue reg_value(ArrayRef<uint8_t>(m_reg_bytes, reg_size),
m_current_process->GetArchitecture().GetByteOrder());
Status error = reg_context.WriteRegister(reg_info, reg_value);
if (error.Fail()) {