* [PATCH] Support for DWARF operator DW_OP_GNU_const_index
@ 2021-08-23 5:39 Sharma, Alok Kumar
2021-10-03 12:37 ` Sharma, Alok Kumar
0 siblings, 1 reply; 2+ messages in thread
From: Sharma, Alok Kumar @ 2021-08-23 5:39 UTC (permalink / raw)
To: dwz; +Cc: George, Jini Susan, Achra, Nitika, E, Nagajyothi, Joseph, Ancel
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
Hi all,
Would you please review the small patch needed to support DW_OP_GNU_const_index
* dwz.c(read_exprloc): Adding case to support DW_OP_GNU_const_index .
* dwz.c(adjust_exprloc): Adding case to support DW_OP_GNU_const_index .
Regards,
Alok
[-- Attachment #2: 0002-Support-for-DWARF-operator-DW_OP_GNU_const_index.patch --]
[-- Type: application/octet-stream, Size: 1087 bytes --]
From 03d71e16451f02c7fd7a28a12f75285ccbe7aa9f Mon Sep 17 00:00:00 2001
From: Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
Date: Fri, 20 Aug 2021 18:17:45 +0530
Subject: [PATCH 2/9] Support for DWARF operator DW_OP_GNU_const_index
There were changes required to support DW_OP_GNU_const_index
* dwz.c(read_exprloc): Adding case to support DW_OP_GNU_const_index .
* dwz.c(adjust_exprloc): Adding case to support DW_OP_GNU_const_index .
---
dwz.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dwz.c b/dwz.c
index 87d526b..9ed609c 100644
--- a/dwz.c
+++ b/dwz.c
@@ -2414,6 +2414,7 @@ read_exprloc (DSO *dso, dw_die_ref die, unsigned char *ptr, size_t len,
case DW_OP_consts:
case DW_OP_breg0 ... DW_OP_breg31:
case DW_OP_fbreg:
+ case DW_OP_GNU_const_index:
skip_leb128 (ptr);
break;
case DW_OP_bregx:
@@ -12106,6 +12107,7 @@ adjust_exprloc (dw_cu_ref cu, dw_die_ref die, dw_cu_ref refcu,
case DW_OP_consts:
case DW_OP_breg0 ... DW_OP_breg31:
case DW_OP_fbreg:
+ case DW_OP_GNU_const_index:
skip_leb128 (ptr);
break;
case DW_OP_bregx:
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH] Support for DWARF operator DW_OP_GNU_const_index
2021-08-23 5:39 [PATCH] Support for DWARF operator DW_OP_GNU_const_index Sharma, Alok Kumar
@ 2021-10-03 12:37 ` Sharma, Alok Kumar
0 siblings, 0 replies; 2+ messages in thread
From: Sharma, Alok Kumar @ 2021-10-03 12:37 UTC (permalink / raw)
To: dwz; +Cc: George, Jini Susan, Achra, Nitika, E, Nagajyothi, Joseph, Ancel
PING !
Regards,
Alok
-----Original Message-----
From: Sharma, Alok Kumar
Sent: Monday, August 23, 2021 11:10 AM
To: dwz@sourceware.org
Cc: George, Jini Susan <JiniSusan.George@amd.com>; Achra, Nitika <Nitika.Achra@amd.com>; E, Nagajyothi <Nagajyothi.E@amd.com>; Joseph, Ancel <Ancel.Joseph@amd.com>
Subject: [PATCH] Support for DWARF operator DW_OP_GNU_const_index
Hi all,
Would you please review the small patch needed to support DW_OP_GNU_const_index
* dwz.c(read_exprloc): Adding case to support DW_OP_GNU_const_index .
* dwz.c(adjust_exprloc): Adding case to support DW_OP_GNU_const_index .
Regards,
Alok
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-03 12:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-23 5:39 [PATCH] Support for DWARF operator DW_OP_GNU_const_index Sharma, Alok Kumar
2021-10-03 12:37 ` Sharma, Alok Kumar
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).