diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-01-27 15:20:54 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-01-27 15:20:54 +0000 |
commit | d8f77bae03b4ff701ed24ce74d1bf079f2dd197f (patch) | |
tree | c09150d8cdaa76cba40480f447308830875c925e /include/llvm/CodeGen/MachineDebugInfo.h | |
parent | 8aeb7c6051682e829fd6179ef2745747339b0792 (diff) |
Improve visibility/correctness of operand indices in "llvm.db" objects.
Handle 64 in DIEs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineDebugInfo.h')
-rw-r--r-- | include/llvm/CodeGen/MachineDebugInfo.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineDebugInfo.h b/include/llvm/CodeGen/MachineDebugInfo.h index fcd75f4749..a3466f8ee4 100644 --- a/include/llvm/CodeGen/MachineDebugInfo.h +++ b/include/llvm/CodeGen/MachineDebugInfo.h @@ -73,6 +73,19 @@ public: /// CompileUnitWrapper - This class wraps a "lldb.compile_unit" global to /// provide easy access to its attributes. class CompileUnitWrapper : public DebugInfoWrapper { +private: + // Operand indices. + enum { + Tag_op, + Version_op, + Language_op, + FileName_op, + Directory_op, + Producer_op, + Anchor_op, // ignored + N_op + }; + public: CompileUnitWrapper(GlobalVariable *G); @@ -110,6 +123,20 @@ public: /// GlobalWrapper - This class wraps a "lldb.global" global to provide easy /// access to its attributes. class GlobalWrapper : public DebugInfoWrapper { +private: + // Operand indices. + enum { + Tag_op, + Context_op, + Name_op, + Anchor_op, // ignored + Type_op, + Static_op, + Definition_op, + GlobalVariable_op, + N_op + }; + public: GlobalWrapper(GlobalVariable *G); |