Message ID | 87ikyut089.fsf@redhat.com |
---|---|
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 server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9DD82386545E for <patchwork@sourceware.org>; Fri, 31 May 2024 16:28:19 +0000 (GMT) X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 7E45E3858C56 for <libabigail@sourceware.org>; Fri, 31 May 2024 16:28:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7E45E3858C56 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7E45E3858C56 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717172894; cv=none; b=Of0uaQo1YypYZlmHEn/MFz+KF8mcnTGCkwLyTvIX9zt+r9OGczYd/ifwP8wR8BFYl1c2I0/O7n8JXfLSVokxu57Ahz/3Dj0vwyBZJDWDvqHWtsL+0+bKDdusgrSpViEFnQUEmiqtw+mNbm1CezZGqthQxx1y99NwqfMaJfR2xgA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717172894; c=relaxed/simple; bh=xs4yPcVCaLZxKvZVxGA19o8CC94g+YalPLppz/ZrvD4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=L6Zo1kNK+CZQ5GfonaCm0SUz6FMe18m+N6+AW+cC7+Nf+yXBavojYp+OOVVZV2+68H80V4/vLJgaFEUMhD8p/stoBVzg7AohFovqfB2ki8g0B+OTYUhHCgL2ZSN3ObZmF3nflap45ESFUCW9BbXhJnTSx2vcsIn0Q/zO+XjvvCs= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717172893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=r/nTq8SC7ipFZXHBwIePuan+5eSK/6igyWUlWX6gqGg=; b=IK/zuuQivoi/ZWVP8HJLMIQ1yqqk1NSU5FlkRSHXhi8mwCr92Suq5LZ8r/zmXEFenFOZQp SCmg/wZv7DaP+WIL3RtTWCYiab6QjuFcKvzxPm0TYJUT7ScVI6PUQftbQYzUj6cjo8Xtio e/yGG4lCE3thtOXxSTB+BEFXl6iTJgI= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-689-YcvuQ6oyMHKZW4Dz959Rzg-1; Fri, 31 May 2024 12:28:10 -0400 X-MC-Unique: YcvuQ6oyMHKZW4Dz959Rzg-1 Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-794aeada1faso160031685a.3 for <libabigail@sourceware.org>; Fri, 31 May 2024 09:28:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717172889; x=1717777689; h=mime-version:user-agent:message-id:date:organization:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=r/nTq8SC7ipFZXHBwIePuan+5eSK/6igyWUlWX6gqGg=; b=PgmrAYCC3TQVpyWw8T7YocId1ap4WnyFFJoRnLehWhJYTifoQUbPU+rBJmxFmNb3vH amNxofVbzaqU0lZvotdW479UmsnH0npXyv02krKeSl+i1+ebOwXqldja2fwixr8Vogw9 G1iGeIcJ9Uz2BpftlUx8SFLumjoiGiWEqIkL5U0wIo3eD1v8WHk3RINGwsnevyO3oA/v e0g8D8lJ8fmHGt1Hg9js7GHazD9Ul0/PN1TYLso0ehG9Y5drl+sRwlNoKH1UToS48o+3 kfpH35XGuFqs6F5yMyfFncOdkrsGZbNI9Nu4biCKPj0furRbnZesLPnMlgx7l/wUukQ0 ry+A== X-Gm-Message-State: AOJu0YwRFCCs1niDVZBqPAdss001nhC5/dX4xsc9AMfAqBrpbhLoqCnj dXk+LQqLCzT7ILgNx/RALCyoWpDaSohc7TYT9LRLDLgxk20SmgmNdmqcFY9pVyeVYux2ePj35np aAkHsH0DxMqXm8kZAYvaL8uzknRmWLg2Fbms30zHVzzFBeMgNFhlMwrVbiDduPU5V9tdeXF95xW wFRX/2Sh4PWlzsY0WZDm+fyIdvLXDPTuzKZi90Xg== X-Received: by 2002:a05:620a:5233:b0:792:c25e:2d49 with SMTP id af79cd13be357-794f5c647e8mr229434385a.4.1717172889467; Fri, 31 May 2024 09:28:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGoGxSvkS+LwH2kGTWF5h40iFpUd8YVdVG0D4gjdmU3R887gKn7RQAqDKJNSktz9qjGZhOl7w== X-Received: by 2002:a05:620a:5233:b0:792:c25e:2d49 with SMTP id af79cd13be357-794f5c647e8mr229430285a.4.1717172888699; Fri, 31 May 2024 09:28:08 -0700 (PDT) Received: from localhost (88-120-130-27.subs.proxad.net. [88.120.130.27]) by smtp.gmail.com with ESMTPSA id af79cd13be357-794f2f136fbsm68952585a.53.2024.05.31.09.28.08 for <libabigail@sourceware.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 09:28:08 -0700 (PDT) Received: by localhost (Postfix, from userid 1000) id BDB83507A61B; Fri, 31 May 2024 18:28:06 +0200 (CEST) From: Dodji Seketeli <dodji@redhat.com> To: libabigail@sourceware.org Subject: [PATCH] abidw: make the --lt option support --btf Organization: Red Hat / France X-Operating-System: AlmaLinux 9.4 X-URL: http://www.redhat.com Date: Fri, 31 May 2024 18:28:06 +0200 Message-ID: <87ikyut089.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_WEB, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.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 |
abidw: make the --lt option support --btf
|
|
Commit Message
Dodji Seketeli
May 31, 2024, 4:28 p.m. UTC
Hello,
When building the ABI for a Linux kernel that has BTF and DWARF debug
info, the --btf option doesn't select the BTF debug info if DWARF is
also present.
Fixed thus.
* tools/abidw.cc (load_kernel_corpus_group_and_write_abixml):
Support --btf.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applying to the master branch.
---
tools/abidw.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/abidw.cc b/tools/abidw.cc index 923caac9..14f2078c 100644 --- a/tools/abidw.cc +++ b/tools/abidw.cc @@ -1007,6 +1007,9 @@ load_kernel_corpus_group_and_write_abixml(char* argv[], corpus::origin requested_fe_kind = #ifdef WITH_CTF opts.use_ctf ? corpus::CTF_ORIGIN : +#endif +#ifdef WITH_BTF + opts.use_btf ? corpus::BTF_ORIGIN : #endif corpus::DWARF_ORIGIN; corpus_group_sptr group =