mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Add LLVM_OVERRIDE to a few declarations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201022 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
virtual ~NVPTXTargetObjectFile();
|
||||
|
||||
virtual void Initialize(MCContext &ctx, const TargetMachine &TM) {
|
||||
void Initialize(MCContext &ctx, const TargetMachine &TM) LLVM_OVERRIDE {
|
||||
TargetLoweringObjectFile::Initialize(ctx, TM);
|
||||
TextSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getText());
|
||||
DataSection =
|
||||
@@ -87,13 +87,14 @@ public:
|
||||
new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
|
||||
}
|
||||
|
||||
virtual const MCSection *getSectionForConstant(SectionKind Kind) const {
|
||||
const MCSection *getSectionForConstant(SectionKind Kind) const LLVM_OVERRIDE {
|
||||
return ReadOnlySection;
|
||||
}
|
||||
|
||||
virtual const MCSection *
|
||||
getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
|
||||
Mangler *Mang, const TargetMachine &TM) const {
|
||||
const MCSection *getExplicitSectionGlobal(const GlobalValue *GV,
|
||||
SectionKind Kind, Mangler *Mang,
|
||||
const TargetMachine &TM) const
|
||||
LLVM_OVERRIDE {
|
||||
return DataSection;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user