From: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com>
To: libabigail@sourceware.org
Cc: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com>
Subject: [PATCH] ctf-reader: Fix missing initializer for member in test suite
Date: Thu, 22 Dec 2022 09:49:49 -0600 [thread overview]
Message-ID: <20221222154949.221391-1-guillermo.e.martinez@oracle.com> (raw)
Hello,
This patch is basically an amend for commit: 4cf2ef8f9754.
Apologies for it.
Kind regards,
guillermo
--
Compiler detects -Werror=missing-field-initializers in CTF test suite.
* tests/test-read-ctf.cc (in_out_specs): Add initializer for
`option' field in test entry.
* tests/data/test-read-ctf/test-alias.o.abi: Adjust.
Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
---
tests/data/test-read-ctf/test-alias.o.abi | 4 ++--
tests/test-read-ctf.cc | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/data/test-read-ctf/test-alias.o.abi b/tests/data/test-read-ctf/test-alias.o.abi
index b5fd92ad..0122abc6 100644
--- a/tests/data/test-read-ctf/test-alias.o.abi
+++ b/tests/data/test-read-ctf/test-alias.o.abi
@@ -8,8 +8,8 @@
<elf-symbol name='main_var' size='4' type='object-type' binding='global-binding' visibility='default-visibility' alias='alias_var' is-defined='yes'/>
</elf-variable-symbols>
<abi-instr address-size='64' language='LANG_C'>
- <type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-1'/>
- <function-decl name='main_func' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='8' elf-symbol-id='main_func'>
+ <type-decl name='int' size-in-bits='32' id='type-id-1'/>
+ <function-decl name='main_func' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='main_func'>
<return type-id='type-id-2'/>
</function-decl>
<var-decl name='alias_var' type-id='type-id-1' mangled-name='alias_var' visibility='default' elf-symbol-id='alias_var'/>
diff --git a/tests/test-read-ctf.cc b/tests/test-read-ctf.cc
index f618e0fd..2dfdbf29 100644
--- a/tests/test-read-ctf.cc
+++ b/tests/test-read-ctf.cc
@@ -342,6 +342,7 @@ static InOutSpec in_out_specs[] =
SEQUENCE_TYPE_ID_STYLE,
"data/test-read-ctf/test-alias.o.abi",
"output/test-read-ctf/test-alias.o.abi",
+ "--ctf"
},
// CTF fallback feature.
{
--
2.35.1
next reply other threads:[~2022-12-22 15:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-22 15:49 Guillermo E. Martinez [this message]
2022-12-23 10:50 ` Dodji Seketeli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221222154949.221391-1-guillermo.e.martinez@oracle.com \
--to=guillermo.e.martinez@oracle.com \
--cc=libabigail@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).