From: "Kumar N, Bhuvanendra" <Bhuvanendra.KumarN@amd.com>
To: "binutils@sourceware.org" <binutils@sourceware.org>
Cc: "George, Jini Susan" <JiniSusan.George@amd.com>,
"Natarajan, Kavitha" <Kavitha.Natarajan@amd.com>
Subject: [PATCH] Descriptive DWARF operations dump support for DW_AT_rank
Date: Tue, 5 Jul 2022 18:51:43 +0000 [thread overview]
Message-ID: <MW2PR12MB46847F1C1D7B569B27871EFB87819@MW2PR12MB4684.namprd12.prod.outlook.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]
[Public]
Hi,
This is a one line patch to support descriptive dwarf operations dump for DW_AT_rank attribute introduced in dwarf-5 for specific fortran array.
Before fix: DW_AT_rank : 6 byte block: 97 23 8 6 37 1a
---
After fix: DW_AT_rank : 6 byte block: 97 23 8 6 37 1a (DW_OP_push_object_address; DW_OP_plus_uconst: 8; DW_OP_deref; DW_OP_lit7; DW_OP_and)
Patch inlined:
From e08c6f5321dafad4cf6a25e5dcb7c1dd84c9f90b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Cbhkumarn=E2=80=9D?= Bhuvanendra.KumarN@amd.com<mailto:Bhuvanendra.KumarN@amd.com>
Date: Wed, 15 Jun 2022 14:17:27 +0530
Subject: [PATCH] [PATCH] Descriptive DWARF operations dump support for
DW_AT_rank
DW_AT_rank is a dwarf-5 feature.
Change-Id: I77f6c081c64427833439f124be0b251dff104c83
---
binutils/dwarf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index beb69544e38..2b1eec49422 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -3376,6 +3376,7 @@ read_and_display_attr_value (unsigned long attribute,
case DW_AT_stride:
case DW_AT_upper_bound:
case DW_AT_lower_bound:
+ case DW_AT_rank:
if (block_start)
{
int need_frame_base;
--
2.17.1
[-- Attachment #2: 0001-PATCH-Descriptive-DWARF-operations-dump-support-for-.patch --]
[-- Type: application/octet-stream, Size: 803 bytes --]
From e08c6f5321dafad4cf6a25e5dcb7c1dd84c9f90b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Cbhkumarn=E2=80=9D?= <Bhuvanendra.KumarN@amd.com>
Date: Wed, 15 Jun 2022 14:17:27 +0530
Subject: [PATCH] [PATCH] Descriptive DWARF operations dump support for
DW_AT_rank
DW_AT_rank is a dwarf-5 feature.
Change-Id: I77f6c081c64427833439f124be0b251dff104c83
---
binutils/dwarf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index beb69544e38..2b1eec49422 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -3376,6 +3376,7 @@ read_and_display_attr_value (unsigned long attribute,
case DW_AT_stride:
case DW_AT_upper_bound:
case DW_AT_lower_bound:
+ case DW_AT_rank:
if (block_start)
{
int need_frame_base;
--
2.17.1
next reply other threads:[~2022-07-05 18:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-05 18:51 Kumar N, Bhuvanendra [this message]
2022-07-06 8:08 ` Nick Clifton
2022-07-06 11:09 ` Kumar N, Bhuvanendra
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=MW2PR12MB46847F1C1D7B569B27871EFB87819@MW2PR12MB4684.namprd12.prod.outlook.com \
--to=bhuvanendra.kumarn@amd.com \
--cc=JiniSusan.George@amd.com \
--cc=Kavitha.Natarajan@amd.com \
--cc=binutils@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).