diff options
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h')
-rw-r--r-- | llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h b/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h index abbb5042752..9b934b039d9 100644 --- a/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h +++ b/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h @@ -91,7 +91,13 @@ namespace llvm { const std::vector<PIC16Section*> &getROSections() const { return ROSections; } - virtual const Section *SectionForGlobal(const GlobalValue *GV) const; + + /// getSpecialCasedSectionGlobals - Allow the target to completely override + /// section assignment of a global. + virtual const Section * + getSpecialCasedSectionGlobals(const GlobalValue *GV, + SectionKind::Kind Kind) const; + }; } // namespace llvm |