diff options
author | Devang Patel <dpatel@apple.com> | 2010-04-28 01:03:09 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-04-28 01:03:09 +0000 |
commit | 173b2b9d05bba92c09711bc83833a4d9dd258789 (patch) | |
tree | f960230887c82dff187b5ccd9090d2064351faf1 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | 2f1ae06c4591203da84c91363c71a5af02d0ebab (diff) | |
download | bcm5719-llvm-173b2b9d05bba92c09711bc83833a4d9dd258789.tar.gz bcm5719-llvm-173b2b9d05bba92c09711bc83833a4d9dd258789.zip |
Refactor.
llvm-svn: 102481
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 698f7106019..b964b23fe6f 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -32,6 +32,7 @@ class DbgVariable; class MachineFrameInfo; class MachineLocation; class MachineModuleInfo; +class MachineOperand; class MCAsmInfo; class DIEAbbrev; class DIE; @@ -304,6 +305,15 @@ private: void addAddress(DIE *Die, unsigned Attribute, const MachineLocation &Location); + /// addRegisterAddress - Add register location entry in variable DIE. + bool addRegisterAddress(DIE *Die, DbgVariable *DV, const MachineOperand &MO); + + /// addConstantValue - Add constant value entry in variable DIE. + bool addConstantValue(DIE *Die, DbgVariable *DV, const MachineOperand &MO); + + /// addConstantFPValue - Add constant value entry in variable DIE. + bool addConstantFPValue(DIE *Die, DbgVariable *DV, const MachineOperand &MO); + /// 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 |