Skip to content

Commit 8806b4f

Browse files
committed
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 984b800 is tripping up clang-6 on Ubuntu 18.04. Related to issue #64782.
1 parent a7e20dd commit 8806b4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2304,7 +2304,7 @@ GDBRemoteCommunicationServerLLGS::Handle_P(StringExtractorGDBRemote &packet) {
23042304
// Build the reginfos response.
23052305
StreamGDBRemote response;
23062306

2307-
RegisterValue reg_value(ArrayRef(m_reg_bytes, reg_size),
2307+
RegisterValue reg_value(ArrayRef<uint8_t>(m_reg_bytes, reg_size),
23082308
m_current_process->GetArchitecture().GetByteOrder());
23092309
Status error = reg_context.WriteRegister(reg_info, reg_value);
23102310
if (error.Fail()) {

0 commit comments

Comments
 (0)