This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 6/9] libdw: DWARF5 Add DW_CC_pass_by_reference and DW_CC_pass_by_reference.


Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 ChangeLog       | 4 ++++
 NEWS            | 4 ++--
 libdw/ChangeLog | 4 ++++
 libdw/dwarf.h   | 7 ++++++-
 4 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 25944f0..7748f13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-07-26  Mark Wielaard  <mark@klomp.org>
 
+	* NEWS: Mention new DWARF5 calling conventions.
+
+2017-07-26  Mark Wielaard  <mark@klomp.org>
+
 	* NEWS: Mention new dwarf_default_lower_bound function.
 
 2017-07-25  Mark Wielaard  <mark@klomp.org>
diff --git a/NEWS b/NEWS
index 5bf0a4d..409805e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
 Version 0.170
 
-libdw: Added new DWARF5 attribute, tag, character encodings constants and
-       language codes to dwarf.h.
+libdw: Added new DWARF5 attribute, tag, character encoding, language code
+       and calling convention constants to dwarf.h.
        New function dwarf_default_lower_bound.
 
 strip: Add -R, --remove-section=SECTION and --keep-section=SECTION.
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index ee7dc92..1c4eb36 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,5 +1,9 @@
 2017-07-26  Mark Wielaard  <mark@klomp.org>
 
+	* dwarf.h: Add DW_CC_pass_by_reference and DW_CC_pass_by_reference.
+
+2017-07-26  Mark Wielaard  <mark@klomp.org>
+
 	* dwarf_default_lower_bound.c: New file.
 	* Makefile.am (libdw_a_SOURCES): Add dwarf_default_lower_bound.c.
 	* dwarf_aggregate_size.c (array_size): Use dwarf_default_lower_bound.
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index dd4384f..de8f7e5 100644
--- a/libdw/dwarf.h
+++ b/libdw/dwarf.h
@@ -688,12 +688,17 @@ enum
   };
 
 
-/* DWARF calling conventions encodings.  */
+/* DWARF calling conventions encodings.
+   Used as values of DW_AT_calling_convention for subroutines
+   (normal, program or nocall) or structures, unions and class types
+   (normal, reference or value).  */
 enum
   {
     DW_CC_normal = 0x1,
     DW_CC_program = 0x2,
     DW_CC_nocall = 0x3,
+    DW_CC_pass_by_reference = 0x4,
+    DW_CC_pass_by_value = 0x5,
     DW_CC_lo_user = 0x40,
     DW_CC_hi_user = 0xff
   };
-- 
1.8.3.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]