[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:53:24 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: None (google-yfyang)
<details>
<summary>Changes</summary>
Fix the breakage in: https://buildkite.com/llvm-project/upstream-bazel/builds/155695/steps/canvas?sid=019a39c6-6ccd-4845-bd5e-d36e4f0369e2
---
Full diff: https://github.com/llvm/llvm-project/pull/165864.diff
1 Files Affected:
- (modified) lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp (+1-3)
``````````diff
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);
``````````
</details>
https://github.com/llvm/llvm-project/pull/165864
More information about the lldb-commits
mailing list