aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/Dwarf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Dwarf.h')
-rw-r--r--include/llvm/Support/Dwarf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h
index 01bfc3f..7f16774 100644
--- a/include/llvm/Support/Dwarf.h
+++ b/include/llvm/Support/Dwarf.h
@@ -18,6 +18,17 @@
namespace llvm {
+//===----------------------------------------------------------------------===//
+// Debug info constants.
+
+enum {
+LLVMDebugVersion = (7 << 16), // Current version of debug information.
+LLVMDebugVersion6 = (6 << 16), // Constant for version 6.
+LLVMDebugVersion5 = (5 << 16), // Constant for version 5.
+LLVMDebugVersion4 = (4 << 16), // Constant for version 4.
+LLVMDebugVersionMask = 0xffff0000 // Mask for version number.
+};
+
namespace dwarf {
//===----------------------------------------------------------------------===//