[llvm-commits] CVS: llvm/include/llvm/Support/Dwarf.h

Jim Laskey jlaskey at apple.com
Wed Mar 1 12:39:49 PST 2006



Changes in directory llvm/include/llvm/Support:

Dwarf.h updated: 1.3 -> 1.4
---
Log message:

Switch back to using actual dwarf tags.  Simplifies code without loss to other
debug forms.


---
Diffs of the changes:  (+10 -0)

 Dwarf.h |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: llvm/include/llvm/Support/Dwarf.h
diff -u llvm/include/llvm/Support/Dwarf.h:1.3 llvm/include/llvm/Support/Dwarf.h:1.4
--- llvm/include/llvm/Support/Dwarf.h:1.3	Mon Feb 27 16:37:23 2006
+++ llvm/include/llvm/Support/Dwarf.h	Wed Mar  1 14:39:35 2006
@@ -24,6 +24,16 @@
 // Dwarf constants as gleaned from the DWARF Debugging Information Format V.3
 // reference manual http://dwarf.freestandards.org .
 //
+
+// Do not mix the following two enumerations sets.  DW_TAG_invalid changes the
+// enumeration base type.
+
+enum llvm_dwarf_constants {
+  // llvm mock tags
+  DW_TAG_invalid = ~0U,                 // Tag for invalid results.
+  DW_TAG_anchor = 0,                    // Tag for descriptor anchors.
+};
+
 enum dwarf_constants {
   DWARF_VERSION = 2,
   






More information about the llvm-commits mailing list