| Message ID | 877bmcpcj7.fsf@seketeli.org |
|---|---|
| State | New |
| Headers |
Return-Path: <libabigail-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6178C4BBC0D6 for <patchwork@sourceware.org>; Thu, 30 Jul 2026 18:17:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6178C4BBC0D6 X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by sourceware.org (Postfix) with ESMTPS id AC9AB4BB8F4A for <libabigail@sourceware.org>; Thu, 30 Jul 2026 18:17:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AC9AB4BB8F4A Authentication-Results: sourceware.org; dmarc=fail (p=quarantine dis=none) header.from=seketeli.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AC9AB4BB8F4A Authentication-Results: sourceware.org; arc=none smtp.remote-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1785435470; cv=none; b=UBLIW6wwbqJUJEJ3sDfr6C5aTE/4/Yv9xSy4Of5/8S6aUuuquypvYsfeJlfBn5JMY34PtTUBfSUnmg/Y/bwwHMTpHx9x4iOGWInKg9sVUkGqabIia85JDZ7tJCEtwuPjYB5HukU6QSz2hopVZFwpQo0SsnizgYEQx9klAStnLVY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1785435470; c=relaxed/simple; bh=0CZITu83PRT3To6cNs33ZQltY7YGOY7+VyO36Uzq9Sg=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=rv6HVvN4fb4MQgupepayo98W8eX4IQe6stmMPjJK/6dIFsRwhlxU4Wbt98IsXhy9TE6vqI+zf8Qoe5ilclK/kV/g50gmk+WvN3QKOQl0VxJDNMKngIZZ+7MIXiBuwc3kvXAtq4ZfpzB7jm5sirb0gzN3dUrZf0rF/i9GaxpF5J8= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC9AB4BB8F4A Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-49557167508so682535e9.1 for <libabigail@sourceware.org>; Thu, 30 Jul 2026 11:17:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785435469; x=1786040269; h=content-type:mime-version:user-agent:message-id:date:organization :subject:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=obOTgOLUmv2wPBQz8MphW/2ffoSBBuUYCh85KcwPlwM=; b=DITqUcVv0gWpLcdRw0BE7bxFjdM50FGdohH6wcnJMK6cssPhqp5XNz+ls1kng7ddmw 6es8DRmILlbVZKkYQv2ZzlDc+p1T0A4YLlslAz0e44V/umx8KMtbYzjW4V+0KrFp7dPB MoCShaZtRxT8k/IymhKvWJ2Qa/XgnMf3uXEsnkUs/y52f8FB7TsvwyuKKR19iP7qtYA/ V9GiN/wdIe0SpgfGbW9Jxr7Lj8V8EVuFK6s4R1uB/PEEwQpfoCno4LL3MfShLuuYrhKz YsZH0gwVj7MpnWC3bnrl7TFN0ZrGxk/RYPHPJTR6hlSood0KkMML44nGO9kEphcXwx5Z tyKw== X-Gm-Message-State: AOJu0YzvkCTBxzWnODsjcQldGW/SfenP89Dd0RyycXJxvPmvA8PGY9sg 1ZIaF9fR4QfMIIoopT6qxYixyV4FQVVp4QdOgcOE/m2HTs9C1pDLPFUGv0kx6lRm X-Gm-Gg: AR+sD10Bm0J1+TSf+i4Am/NCXG9bzwHRsEXjnHuR4LtQEWQWdi8ZqeCDWJUWMf8r4Ig QZP8EC/iVkaDFiy+NGSBLuzN+3qpwTNgLxSaRnulNy96Wf7xj4XxeocNjoDXNYhm5G7jlAZ+iTI UXlCn14qD3mmQl5zg6VsOTkEAF8Es+/wcY+NjAi2b7cPIcGrcKwjZ8DgZf4k9aCcNrmU5K7Y97J PmsYNfR7Me9ygjEpij/Ub2UA2rCgaHOyzwGJ322P4OXGIS//wwpWZAipXNCJQ+1IzhsqLFYLLL4 mHMPxazTsRCeqjK1nLhUop90U1zPDhJnw9sbTsQYAxEynOiMzB03au9Bp5KG10Q8Sma5Utu4usv QgTf27z0NZo/vAOQRKRHJdHaU6u8rk/2CQso412ZzNFWDa3c5+Ue335xSLLn5w4OwY3xkUiW5i6 trWovDOOSP3VqkJ1mWN62a3Mtrw1/pv9KShCTjAgu4w40y2zmKdH8Uk719ztftAH+fnvq0YY4rJ U3+3PLCgmRYQVf6xpVtfhVVOTQyiXfDQj2TaHeLGqA= X-Received: by 2002:a05:600c:8b26:b0:496:c06b:9fb4 with SMTP id 5b1f17b1804b1-49800e93e81mr50409475e9.14.1785435469538; Thu, 30 Jul 2026 11:17:49 -0700 (PDT) Received: from localhost ([82.67.74.110]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-498011fd5fesm71735665e9.7.2026.07.30.11.17.48 for <libabigail@sourceware.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2026 11:17:48 -0700 (PDT) Received: by localhost (Postfix, from userid 1000) id 3956C601E7FD; Thu, 30 Jul 2026 20:17:48 +0200 (CEST) From: Dodji Seketeli <dodji@seketeli.org> To: libabigail@sourceware.org Subject: [PATCH 5/9] tools/abilint: Fix --annotate when reading free form translation units Organization: Me, myself and I X-Operating-System: Fedora 45 X-URL: http://www.seketeli.net/~dodji Date: Thu, 30 Jul 2026 20:17:48 +0200 Message-ID: <877bmcpcj7.fsf@seketeli.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, LOCAL_AUTHENTICATION_FAIL_DMARC, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Mailing list of the Libabigail project <libabigail.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libabigail>, <mailto:libabigail-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libabigail/> List-Post: <mailto:libabigail@sourceware.org> List-Help: <mailto:libabigail-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libabigail>, <mailto:libabigail-request@sourceware.org?subject=subscribe> Errors-To: libabigail-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
[1/9] tests/mockfedabipkgdiff.in: Fix python module loading
|
|
Commit Message
Dodji Seketeli
July 30, 2026, 6:17 p.m. UTC
Hello,
It turned out "abilint --annotate" does not annotate the emitted ABIXML
if it is a free-form translation unit rather than a full-blown ABI
corpus. Fixed thus.
* tools/abilint.cc (main): When reading free form translation
units, call set_annotate on the write context before calling
write_translation_unit, so that the --annotate option is properly
honoured.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applied to the master branch.
---
tools/abilint.cc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tools/abilint.cc b/tools/abilint.cc index 22ac20ae..811d72e7 100644 --- a/tools/abilint.cc +++ b/tools/abilint.cc @@ -893,7 +893,10 @@ main(int argc, char* argv[]) if (tu) { if (!opts.noout) - is_ok = write_translation_unit(*ctxt, *tu, 0); + { + set_annotate(*ctxt, opts.annotate); + is_ok = write_translation_unit(*ctxt, *tu, 0); + } } else {