[llvm] r282329 - [AVR] Update signature of AVRTargetObjectFile::SelectSectionForGlobal
Dylan McKay via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 24 04:38:10 PDT 2016
Author: dylanmckay
Date: Sat Sep 24 06:38:08 2016
New Revision: 282329
URL: http://llvm.org/viewvc/llvm-project?rev=282329&view=rev
Log:
[AVR] Update signature of AVRTargetObjectFile::SelectSectionForGlobal
It was changed recently, and was breaking compilation of the backend.
Modified:
llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.cpp
llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.h
Modified: llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.cpp?rev=282329&r1=282328&r2=282329&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.cpp (original)
+++ llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.cpp Sat Sep 24 06:38:08 2016
@@ -27,7 +27,7 @@ void AVRTargetObjectFile::Initialize(MCC
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::SelectSectionForGlo
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
+
Modified: llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.h?rev=282329&r1=282328&r2=282329&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.h (original)
+++ llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.h Sat Sep 24 06:38:08 2016
@@ -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:
More information about the llvm-commits
mailing list