summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR
diff options
context:
space:
mode:
authorDylan McKay <dylanmckay34@gmail.com>2016-09-24 11:38:08 +0000
committerDylan McKay <dylanmckay34@gmail.com>2016-09-24 11:38:08 +0000
commit907cde3cc2e96b8558960641d2d2c78870a019b4 (patch)
treecd3f6047dc712d383020a554fe4e1d04a602def7 /llvm/lib/Target/AVR
parent4e14445e5936af9868cb7622b955a45fdf271673 (diff)
downloadbcm5719-llvm-907cde3cc2e96b8558960641d2d2c78870a019b4.tar.gz
bcm5719-llvm-907cde3cc2e96b8558960641d2d2c78870a019b4.zip
[AVR] Update signature of AVRTargetObjectFile::SelectSectionForGlobal
It was changed recently, and was breaking compilation of the backend. llvm-svn: 282329
Diffstat (limited to 'llvm/lib/Target/AVR')
-rw-r--r--llvm/lib/Target/AVR/AVRTargetObjectFile.cpp5
-rw-r--r--llvm/lib/Target/AVR/AVRTargetObjectFile.h1
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/AVR/AVRTargetObjectFile.cpp b/llvm/lib/Target/AVR/AVRTargetObjectFile.cpp
index 85f03e818e8..c1d7a4ebc95 100644
--- a/llvm/lib/Target/AVR/AVRTargetObjectFile.cpp
+++ b/llvm/lib/Target/AVR/AVRTargetObjectFile.cpp
@@ -27,7 +27,7 @@ void AVRTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM) {
MCSection *
AVRTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV,
- SectionKind Kind, Mangler &Mang,
+ SectionKind Kind,
const TargetMachine &TM) const {
// Global values in flash memory are placed in the progmem.data section
// unless they already have a user assigned section.
@@ -35,6 +35,7 @@ AVRTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV,
return ProgmemDataSection;
// Otherwise, we work the same way as ELF.
- return Base::SelectSectionForGlobal(GV, Kind, Mang, TM);
+ return Base::SelectSectionForGlobal(GV, Kind, TM);
}
} // end of namespace llvm
+
diff --git a/llvm/lib/Target/AVR/AVRTargetObjectFile.h b/llvm/lib/Target/AVR/AVRTargetObjectFile.h
index 58761258431..19b2fe79eea 100644
--- a/llvm/lib/Target/AVR/AVRTargetObjectFile.h
+++ b/llvm/lib/Target/AVR/AVRTargetObjectFile.h
@@ -22,7 +22,6 @@ public:
void Initialize(MCContext &ctx, const TargetMachine &TM) override;
MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
- Mangler &Mang,
const TargetMachine &TM) const override;
private:
OpenPOWER on IntegriCloud