From d9b5038a3364464b7541836b20e9a675ba8dcd5f Mon Sep 17 00:00:00 2001 From: A_Wei Date: Mon, 22 Apr 2024 17:43:19 +0800 Subject: [PATCH] =?UTF-8?q?[LLDB]=20Fix=20getting=20Aggregate=20class=20re?= =?UTF-8?q?turn=20value=20Description:=20After=20thread=20step-out,=20retu?= =?UTF-8?q?rn=20value=20cannot=20be=20displayed=20by=20calling=20thread=20?= =?UTF-8?q?info.=20Issue=EF=BC=9Ahttps://gitee.com/openharmony/third=5Fpar?= =?UTF-8?q?ty=5Fllvm-project/issues/I9IPL0=3Ffrom=3Dproject-issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: A_Wei Change-Id: edfd55211d1e1620cc3479a38555bd52339289b0 --- lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp b/lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp index 2896f5920db9..3e87fd196e01 100644 --- a/lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp +++ b/lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp @@ -471,7 +471,7 @@ static bool LoadValueFromConsecutiveGPRRegisters( llvm::Optional byte_size = value_type.GetByteSize(exe_ctx.GetBestExecutionContextScope()); - if (byte_size || *byte_size == 0) + if (!byte_size || *byte_size == 0) // OHOS_LOCAL return false; std::unique_ptr heap_data_up( -- Gitee