[04/14] ir-priv: Fix comments

Message ID 20260925210608.3532891-5-dodji@seketeli.org
State New
Headers
Series [01/14] kmidiff.rst: Fix some typos in the kmidiff manual |

Commit Message

Dodji Seketeli Sept. 25, 2026, 9:05 p.m. UTC
  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(-)
  

Patch

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