public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/6] libdw: DWARF5 Add DW_CC_pass_by_reference and DW_CC_pass_by_reference.
@ 2016-10-28 16:06 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2016-10-28 16:06 UTC (permalink / raw)
  To: elfutils-devel

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

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

diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index 5c2968b..3525391 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,5 +1,9 @@
 2016-10-22  Mark Wielaard  <mjw@redhat.com>
 
+	* dwarf.h: Add DW_CC_pass_by_reference and DW_CC_pass_by_reference.
+
+2016-10-22  Mark Wielaard  <mjw@redhat.com>
+
 	* dwarf.h: Correct spelling of DW_LANG_PLI. Add compatibility define.
 	* dwarf_aggregate_size.c (array_size): Use correct spelling of
 	DW_LANG_PLI.
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index 169b53e..2b46aa9 100644
--- a/libdw/dwarf.h
+++ b/libdw/dwarf.h
@@ -615,12 +615,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

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

only message in thread, other threads:[~2016-10-28 16:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-28 16:06 [PATCH 1/6] libdw: DWARF5 Add DW_CC_pass_by_reference and DW_CC_pass_by_reference 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).