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

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 31 07:22:38 PDT 2025


Author: google-yfyang
Date: 2025-10-31T14:22:33Z
New Revision: d1fa43575195ea5feb541ee6b6ee5a8337c3ae97

URL: https://github.com/llvm/llvm-project/commit/d1fa43575195ea5feb541ee6b6ee5a8337c3ae97
DIFF: https://github.com/llvm/llvm-project/commit/d1fa43575195ea5feb541ee6b6ee5a8337c3ae97.diff

LOG: [lldb] Fix a lldb failure following #165707 (#165864)

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

Added: 
    

Modified: 
    lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp b/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
index f9c249d7fec1c..e41a28bd21c36 100644
--- a/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
+++ b/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
@@ -480,11 +480,10 @@ 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) &&
+        !compiler_type.IsVectorType() && !is_complex) {
       const size_t byte_size =
           llvm::expectedToOptional(compiler_type.GetByteSize(&thread))
               .value_or(0);


        


More information about the lldb-commits mailing list