summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/Dwarf.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Support/Dwarf.h')
-rw-r--r--llvm/include/llvm/Support/Dwarf.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/Dwarf.h b/llvm/include/llvm/Support/Dwarf.h
index 090fc6033ae..fb434f64652 100644
--- a/llvm/include/llvm/Support/Dwarf.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud