diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-06 16:27:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-06 16:27:28 +0000 |
commit | 759b88898d0c06134342f44e81a625ada10c136a (patch) | |
tree | 12fa380f969499fc8f515949715bb410a0b77036 /lib/Target/PIC16/PIC16TargetObjectFile.h | |
parent | fc60eb4033f4f1118155ddc92fb525e6a11e3914 (diff) |
go through PIC16TargetObjectFile to make sections instead of
creating them directly in the pic16 asmprinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78317 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16TargetObjectFile.h')
-rw-r--r-- | lib/Target/PIC16/PIC16TargetObjectFile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16TargetObjectFile.h b/lib/Target/PIC16/PIC16TargetObjectFile.h index 708c311e28..6cc7054e63 100644 --- a/lib/Target/PIC16/PIC16TargetObjectFile.h +++ b/lib/Target/PIC16/PIC16TargetObjectFile.h @@ -64,10 +64,16 @@ namespace llvm { virtual const MCSection * getSpecialCasedSectionGlobals(const GlobalValue *GV, Mangler *Mang, SectionKind Kind) const; + virtual const MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler *Mang, const TargetMachine&) const; + + const MCSection *getSectionForFunction(const std::string &FnName) const; + const MCSection *getSectionForFunctionFrame(const std::string &FnName)const; + + private: std::string getSectionNameForSym(const std::string &Sym) const; |