aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/Dwarf.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-23 18:07:55 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-23 18:07:55 +0000
commitb8509c5752d58280178f611e0c3f8b89ed076598 (patch)
tree157587ffc45f84b426d127c4efc48e2fd8c8baec /include/llvm/Support/Dwarf.h
parent43970fec322d9e0153ca513de41d80af1c79bdde (diff)
Generate local variable and scope information and equivalent dwarf forms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Dwarf.h')
-rw-r--r--include/llvm/Support/Dwarf.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h
index 090fc6033a..fb434f6465 100644
--- a/include/llvm/Support/Dwarf.h
+++ b/include/llvm/Support/Dwarf.h
@@ -31,7 +31,16 @@ namespace dwarf {
enum llvm_dwarf_constants {
// llvm mock tags
DW_TAG_invalid = ~0U, // Tag for invalid results.
- DW_TAG_anchor = 0 // Tag for descriptor anchors.
+
+ DW_TAG_anchor = 0, // Tag for descriptor anchors.
+ DW_TAG_auto_variable = 0x100, // Tag for local (auto) variables.
+ DW_TAG_arg_variable = 0x101, // Tag for argument variables.
+ DW_TAG_return_variable = 0x102, // Tag for return variables.
+
+ DW_TAG_user_base = 0x1000, // Recommended base for user tags.
+
+ DW_CIE_VERSION = 1, // Common frame information version.
+ DW_CIE_ID = 0xffffffff // Common frame information mark.
};
enum dwarf_constants {
@@ -410,6 +419,7 @@ enum dwarf_constants {
DW_MACINFO_vendor_ext = 0xff,
// Call frame instruction encodings
+ DW_CFA_extended = 0x00,
DW_CFA_advance_loc = 0x40,
DW_CFA_offset = 0x80,
DW_CFA_restore = 0xc0,