From 144afc07bd45c1d6f3907008101eeb10cbc61c85 Mon Sep 17 00:00:00 2001 From: WanZhiYu Date: Mon, 6 Jan 2025 16:01:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E8=AF=81=E5=AE=8C=E5=85=A8=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96expr=5Fresult=E7=BB=93=E6=9E=84=E4=BD=93?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dwarf/attrs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwarf/attrs.cc b/dwarf/attrs.cc index dc32f1f..2088657 100644 --- a/dwarf/attrs.cc +++ b/dwarf/attrs.cc @@ -167,7 +167,7 @@ at_data_member_location(const die &d, expr_context *ctx, taddr base, taddr pc) switch (v.get_type()) { case value::type::constant: case value::type::uconstant: - return {expr_result::type::address, base + v.as_uconstant()}; + return {expr_result::type::address, base + v.as_uconstant(),nullptr,0}; case value::type::exprloc: return v.as_exprloc().evaluate(ctx, base); case value::type::loclist: -- Gitee