[PATCH 04/14] ir-priv: Fix comments

Dodji Seketeli dodji@seketeli.org
Fri Sep 25 21:05:58 GMT 2026


Fix the comments describing data members
environment::priv::{first,second}_self_comparison_corpus_.

	* src/abg-ir-priv.h
	(environment::priv::{first,second}_self_comparison_corpus_): Fix
	comments.

Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
---
 src/abg-ir-priv.h | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/abg-ir-priv.h b/src/abg-ir-priv.h
index 53891850..4166ba5a 100644
--- a/src/abg-ir-priv.h
+++ b/src/abg-ir-priv.h
@@ -916,10 +916,15 @@ struct environment::priv
   // input of abidw, as well as as the abixml file that represents the
   // ABI of that binary.
   //
+  // The intent is the same when doing "abidiff <binary> <binary>".
+  // In that case, we don't make any assumption about the nature
+  // (ELF/ABIXML) of <binary> other than abidiff expect the two to be
+  // equivalent.
+  //
   // So this one is the corpus for the input binary.
   corpus_wptr				first_self_comparison_corpus_;
-  // This one is the corpus for the ABIXML file representing the
-  // serialization of the input binary.
+  // This one is the corpus representing the second input binary which
+  // is supposed to be equivalent to the first one.
   corpus_wptr				second_self_comparison_corpus_;
   // This is also used for debugging purposes, when using
   //   'abidw --debug-abidiff <binary>'.  It holds the set of mapping of
-- 
2.55.0



More information about the Libabigail mailing list