[Lldb-commits] [lldb] [lldb] Fix a lldb failure following #165707 (PR #165864)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 31 07:18:01 PDT 2025
https://github.com/google-yfyang updated https://github.com/llvm/llvm-project/pull/165864
>From 7b5b8833d6ec75a344222ed7e01969ab19924812 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 | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
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