summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-12-11 21:14:02 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-12-11 21:14:02 +0000
commit3332d4c75f36db7bba8779c5b0081396da2fa421 (patch)
treeed5fabbb3d5cb5a89456a469d8114c35276b7b55 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
parentc520fce72d0d5c3a0418e945dcb0fb523e045527 (diff)
downloadbcm5719-llvm-3332d4c75f36db7bba8779c5b0081396da2fa421.tar.gz
bcm5719-llvm-3332d4c75f36db7bba8779c5b0081396da2fa421.zip
DwarfUnit: LLVM_OVERRIDE and constify some functions
llvm-svn: 197072
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
index 3904ffec61a..26b5f09004e 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
@@ -420,7 +420,7 @@ public:
}
/// Emit the header for this unit, not including the initial length field.
- void emitHeader(const MCSection *ASection, const MCSymbol *ASectionSym);
+ void emitHeader(const MCSection *ASection, const MCSymbol *ASectionSym) const;
protected:
/// getOrCreateStaticMemberDIE - Create new static data member DIE.
@@ -507,7 +507,7 @@ public:
/// either DW_FORM_addr or DW_FORM_GNU_addr_index.
void addLabelAddress(DIE *Die, dwarf::Attribute Attribute, MCSymbol *Label);
- uint16_t getLanguage() const { return getNode().getLanguage(); }
+ uint16_t getLanguage() const LLVM_OVERRIDE { return getNode().getLanguage(); }
};
class DwarfTypeUnit : public DwarfUnit {
@@ -518,7 +518,7 @@ public:
DwarfTypeUnit(unsigned UID, DIE *D, uint16_t Language, AsmPrinter *A,
DwarfDebug *DW, DwarfFile *DWU);
- uint16_t getLanguage() const { return Language; }
+ uint16_t getLanguage() const LLVM_OVERRIDE { return Language; }
};
} // end llvm namespace
#endif
OpenPOWER on IntegriCloud