[Lldb-commits] [lldb] 8806b4f - Get LLDB building with clang-6 on Ubuntu 18.04
Evan Wilde via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 18 15:02:36 PDT 2023
Author: Evan Wilde
Date: 2023-08-18T14:59:38-07:00
New Revision: 8806b4f9b1fce4cb62e93b21fd9c9cc5a45317e3
URL: https://github.com/llvm/llvm-project/commit/8806b4f9b1fce4cb62e93b21fd9c9cc5a45317e3
DIFF: https://github.com/llvm/llvm-project/commit/8806b4f9b1fce4cb62e93b21fd9c9cc5a45317e3.diff
LOG: 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.
Added:
Modified:
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
index f9d95fc5d2a66d..65c7a0fabe90ff 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()) {
More information about the lldb-commits
mailing list