diff options
author | Devang Patel <dpatel@apple.com> | 2011-04-27 22:45:24 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-04-27 22:45:24 +0000 |
commit | 77dc541b009401774633d9b28c6ff2612c3393d4 (patch) | |
tree | 707adb2485a44aed8db1fc5969dff6cb736a3b07 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 406c471b69f2d079582b6d09a752d96e826f0535 (diff) | |
download | bcm5719-llvm-77dc541b009401774633d9b28c6ff2612c3393d4.tar.gz bcm5719-llvm-77dc541b009401774633d9b28c6ff2612c3393d4.zip |
Simplify handling of variables with complex address (i.e. blocks variables)
llvm-svn: 130339
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index fd4fa6d4aff..f4f6fb8b0df 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -181,9 +181,6 @@ public: void addAddress(DIE *Die, unsigned Attribute, const MachineLocation &Location); - /// addRegisterAddress - Add register location entry in variable DIE. - bool addRegisterAddress(DIE *Die, const MachineOperand &MO); - /// addConstantValue - Add constant value entry in variable DIE. bool addConstantValue(DIE *Die, const MachineOperand &MO); bool addConstantValue(DIE *Die, ConstantInt *CI, bool Unsigned); @@ -218,9 +215,9 @@ public: void addBlockByrefAddress(DbgVariable *&DV, DIE *Die, unsigned Attribute, const MachineLocation &Location); - /// addFrameVariableAddress - Add DW_AT_location attribute for a DbgVariable - /// based on provided frame index. - void addFrameVariableAddress(DbgVariable *&DV, DIE *Die, int64_t FI); + /// addVariableAddress - Add DW_AT_location attribute for a + /// DbgVariable based on provided MachineLocation. + void addVariableAddress(DbgVariable *&DV, DIE *Die, MachineLocation Location); /// addToContextOwner - Add Die into the list of its context owner's children. void addToContextOwner(DIE *Die, DIDescriptor Context); |