summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf.h
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2017-07-26 18:15:20 +0200
committerMark Wielaard <[email protected]>2017-08-02 13:51:52 +0200
commit75834f33d6abcbfbd160af97cda5bc83c9ed8a5d (patch)
tree7d9f11097538932eb84b8a25f2aafaaa536459f3 /libdw/dwarf.h
parent2eb1e3485614f5a4d3cbe8f28efd0d0de980911f (diff)
libdw: DWARF5 Add DW_CC_pass_by_reference and DW_CC_pass_by_reference.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/dwarf.h')
-rw-r--r--libdw/dwarf.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index dd4384fb..de8f7e5a 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
};