diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-03-16 17:42:45 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-03-16 17:42:45 +0000 |
commit | a63b8e8227bc3460dc15da826bf93139a56ce4ec (patch) | |
tree | daa443ee757353c656e306ca0e3db82f489fcf16 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | |
parent | 981f03e6a2202cdc2e245e1c6d5cec70d0dfdbf6 (diff) | |
download | bcm5719-llvm-a63b8e8227bc3460dc15da826bf93139a56ce4ec.tar.gz bcm5719-llvm-a63b8e8227bc3460dc15da826bf93139a56ce4ec.zip |
Rename methods in DwarfExpression to adhere to the LLVM coding guidelines.
NFC.
llvm-svn: 297966
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp index a7be770df63..18a5d9a5fac 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp @@ -54,15 +54,15 @@ DIEDwarfExpression::DIEDwarfExpression(const AsmPrinter &AP, DwarfUnit &DU, : DwarfExpression(AP.getDwarfVersion()), AP(AP), DU(DU), DIE(DIE) {} -void DIEDwarfExpression::EmitOp(uint8_t Op, const char* Comment) { +void DIEDwarfExpression::emitOp(uint8_t Op, const char* Comment) { DU.addUInt(DIE, dwarf::DW_FORM_data1, Op); } -void DIEDwarfExpression::EmitSigned(int64_t Value) { +void DIEDwarfExpression::emitSigned(int64_t Value) { DU.addSInt(DIE, dwarf::DW_FORM_sdata, Value); } -void DIEDwarfExpression::EmitUnsigned(uint64_t Value) { +void DIEDwarfExpression::emitUnsigned(uint64_t Value) { DU.addUInt(DIE, dwarf::DW_FORM_udata, Value); } @@ -475,11 +475,11 @@ void DwarfUnit::addBlockByrefAddress(const DbgVariable &DV, DIE &Die, bool validReg; if (Location.isReg()) - validReg = Expr.AddMachineReg(*Asm->MF->getSubtarget().getRegisterInfo(), + validReg = Expr.addMachineReg(*Asm->MF->getSubtarget().getRegisterInfo(), Location.getReg()); else validReg = - Expr.AddMachineRegIndirect(*Asm->MF->getSubtarget().getRegisterInfo(), + Expr.addMachineRegIndirect(*Asm->MF->getSubtarget().getRegisterInfo(), Location.getReg(), Location.getOffset()); if (!validReg) @@ -509,7 +509,7 @@ void DwarfUnit::addBlockByrefAddress(const DbgVariable &DV, DIE &Die, DIExpr.push_back(dwarf::DW_OP_plus); DIExpr.push_back(varFieldOffset); } - Expr.AddExpression(makeArrayRef(DIExpr)); + Expr.addExpression(makeArrayRef(DIExpr)); Expr.finalize(); // Now attach the location information to the DIE. |