public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] dwarf.h: Add DW_AT_GNU_deleted.
@ 2014-10-05 15:25 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2014-10-05 15:25 UTC (permalink / raw)
  To: elfutils-devel

[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]

DW_AT_GNU_deleted is added by G++ for C++11 deleted special member
functions (= delete;). This is a constant only addition to dwarf.h.
No other part of elfutils currently depends on this attribute.
Also added to https://fedorahosted.org/elfutils/wiki/DwarfExtensions

Signed-off-by: Mark Wielaard <mjw@redhat.com>
---
 libdw/ChangeLog | 4 ++++
 libdw/dwarf.h   | 1 +
 2 files changed, 5 insertions(+)

diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index 29edc46..f40ad25 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-05  Mark Wielaard  <mjw@redhat.com>
+
+	* dwarf.h: Add DW_AT_GNU_deleted.
+
 2014-10-02  Mark Wielaard  <mjw@redhat.com>
 
 	* dwarf_aggregate_size.c (aggregate_size): Return CU address_size
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index d98a4bd..d03cf5c 100644
--- a/libdw/dwarf.h
+++ b/libdw/dwarf.h
@@ -267,6 +267,7 @@ enum
     DW_AT_GNU_all_call_sites = 0x2117,
     DW_AT_GNU_all_source_call_sites = 0x2118,
     DW_AT_GNU_macros = 0x2119,
+    DW_AT_GNU_deleted = 0x211a,
 
     DW_AT_hi_user = 0x3fff
   };
-- 
1.9.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-05 15:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-05 15:25 [PATCH] dwarf.h: Add DW_AT_GNU_deleted Mark Wielaard

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).