[Lldb-commits] [lldb] [lldb] Fix a lldb failure following #165707 (PR #165864)

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 31 06:52:44 PDT 2025


https://github.com/google-yfyang created https://github.com/llvm/llvm-project/pull/165864

Fix the breakage in: https://buildkite.com/llvm-project/upstream-bazel/builds/155695/steps/canvas?sid=019a39c6-6ccd-4845-bd5e-d36e4f0369e2

>From 7bf847c8c94ab68e3075a345d03acd12a7aa0322 Mon Sep 17 00:00:00 2001
From: google-yfyang <yfyang at google.com>
Date: Fri, 31 Oct 2025 09:49:30 -0400
Subject: [PATCH] [lldb] Fix a lldb failure following #165707

---
 lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp b/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
index f9c249d7fec1c..4fdff0851d715 100644
--- a/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
+++ b/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
@@ -480,11 +480,9 @@ ABISysV_arc::GetReturnValueObjectSimple(Thread &thread,
   }
   // Floating point return type.
   else if (type_flags & eTypeIsFloat) {
-    uint32_t float_count = 0;
     bool is_complex = false;
 
-    if (compiler_type.IsFloatingPointType(float_count, is_complex) &&
-        1 == float_count && !is_complex) {
+    if (compiler_type.IsFloatingPointType(is_complex) && !is_complex) {
       const size_t byte_size =
           llvm::expectedToOptional(compiler_type.GetByteSize(&thread))
               .value_or(0);



More information about the lldb-commits mailing list