diff options
author | Devang Patel <dpatel@apple.com> | 2011-04-26 19:06:18 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-04-26 19:06:18 +0000 |
commit | 116da2fbe93861bb60ffff26dce1d0e76d9ccf15 (patch) | |
tree | 8a123dd63c914efab5e58f1d691a4bab5672e419 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 1394e6d9252ed188dbd73a59bcb4f15526641363 (diff) |
Refactor code. Keep dwarf register operation selection logic at one place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 739460bea8..fd4fa6d4af 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -194,6 +194,12 @@ public: /// addTemplateParams - Add template parameters in buffer. void addTemplateParams(DIE &Buffer, DIArray TParams); + /// addRegisterOp - Add register operand. + void addRegisterOp(DIE *TheDie, unsigned Reg); + + /// addRegisterOffset - Add register offset. + void addRegisterOffset(DIE *TheDie, unsigned Reg, int64_t Offset); + /// addComplexAddress - Start with the address based on the location provided, /// and generate the DWARF information necessary to find the actual variable /// (navigating the extra location information encoded in the type) based on |