[Lldb-commits] [lldb] [lldb] [debugserver] fix qLaunchSuccess error, add QErrorStringInPack… (PR #82593)

via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 21 23:01:04 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 386aa7b16977150da917a78423fd05cb19609850 0ba4e6402969028fa6152c366a56063a56acded1 -- lldb/tools/debugserver/source/RNBRemote.cpp lldb/tools/debugserver/source/RNBRemote.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/tools/debugserver/source/RNBRemote.h b/lldb/tools/debugserver/source/RNBRemote.h
index 91f04fd6b4..b7b7d8262c 100644
--- a/lldb/tools/debugserver/source/RNBRemote.h
+++ b/lldb/tools/debugserver/source/RNBRemote.h
@@ -108,36 +108,36 @@ public:
     json_query_get_shared_cache_info,              // 'jGetSharedCacheInfo'
     pass_signals_to_inferior,                      // 'QPassSignals'
     start_noack_mode,                              // 'QStartNoAckMode'
-    prefix_reg_packets_with_tid,        // 'QPrefixRegisterPacketsWithThreadID
-    set_logging_mode,                   // 'QSetLogging:'
-    set_ignored_exceptions,             // 'QSetIgnoredExceptions'           
-    set_max_packet_size,                // 'QSetMaxPacketSize:'
-    set_max_payload_size,               // 'QSetMaxPayloadSize:'
-    set_environment_variable,           // 'QEnvironment:'
-    set_environment_variable_hex,       // 'QEnvironmentHexEncoded:'
-    set_launch_arch,                    // 'QLaunchArch:'
-    set_disable_aslr,                   // 'QSetDisableASLR:'
-    set_stdin,                          // 'QSetSTDIN:'
-    set_stdout,                         // 'QSetSTDOUT:'
-    set_stderr,                         // 'QSetSTDERR:'
-    set_working_dir,                    // 'QSetWorkingDir:'
-    set_list_threads_in_stop_reply,     // 'QListThreadsInStopReply:'
-    sync_thread_state,                  // 'QSyncThreadState:'
-    memory_region_info,                 // 'qMemoryRegionInfo:'
-    get_profile_data,                   // 'qGetProfileData'
-    set_enable_profiling,               // 'QSetEnableAsyncProfiling'
-    enable_compression,                 // 'QEnableCompression:'
-    watchpoint_support_info,            // 'qWatchpointSupportInfo:'
-    allocate_memory,                    // '_M'
-    deallocate_memory,                  // '_m'
-    set_process_event,                  // 'QSetProcessEvent:'
-    save_register_state,                // '_g'
-    restore_register_state,             // '_G'
-    speed_test,                         // 'qSpeedTest:'
-    set_detach_on_error,                // 'QSetDetachOnError:'
-    query_transfer,                     // 'qXfer:'
-    json_query_dyld_process_state,      // 'jGetDyldProcessState'
-    enable_error_strings,               // 'QEnableErrorStrings'
+    prefix_reg_packets_with_tid,    // 'QPrefixRegisterPacketsWithThreadID
+    set_logging_mode,               // 'QSetLogging:'
+    set_ignored_exceptions,         // 'QSetIgnoredExceptions'
+    set_max_packet_size,            // 'QSetMaxPacketSize:'
+    set_max_payload_size,           // 'QSetMaxPayloadSize:'
+    set_environment_variable,       // 'QEnvironment:'
+    set_environment_variable_hex,   // 'QEnvironmentHexEncoded:'
+    set_launch_arch,                // 'QLaunchArch:'
+    set_disable_aslr,               // 'QSetDisableASLR:'
+    set_stdin,                      // 'QSetSTDIN:'
+    set_stdout,                     // 'QSetSTDOUT:'
+    set_stderr,                     // 'QSetSTDERR:'
+    set_working_dir,                // 'QSetWorkingDir:'
+    set_list_threads_in_stop_reply, // 'QListThreadsInStopReply:'
+    sync_thread_state,              // 'QSyncThreadState:'
+    memory_region_info,             // 'qMemoryRegionInfo:'
+    get_profile_data,               // 'qGetProfileData'
+    set_enable_profiling,           // 'QSetEnableAsyncProfiling'
+    enable_compression,             // 'QEnableCompression:'
+    watchpoint_support_info,        // 'qWatchpointSupportInfo:'
+    allocate_memory,                // '_M'
+    deallocate_memory,              // '_m'
+    set_process_event,              // 'QSetProcessEvent:'
+    save_register_state,            // '_g'
+    restore_register_state,         // '_G'
+    speed_test,                     // 'qSpeedTest:'
+    set_detach_on_error,            // 'QSetDetachOnError:'
+    query_transfer,                 // 'qXfer:'
+    json_query_dyld_process_state,  // 'jGetDyldProcessState'
+    enable_error_strings,           // 'QEnableErrorStrings'
     unknown_type
   };
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/82593


More information about the lldb-commits mailing list