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 | b29996eb238cc2a23fbfadf3f02cce83d74ccc5d (patch) | |
| tree | b3ff6728f015aa9f3cd9f63b48b7e8f33f2d7bcb /llvm/lib/Target/PIC16/PIC16TargetObjectFile.h | |
| parent | 15acfb9f501e047fb3791d8e3a2f2582541d3991 (diff) | |
| download | bcm5719-llvm-b29996eb238cc2a23fbfadf3f02cce83d74ccc5d.tar.gz bcm5719-llvm-b29996eb238cc2a23fbfadf3f02cce83d74ccc5d.zip | |
go through PIC16TargetObjectFile to make sections instead of
creating them directly in the pic16 asmprinter.
llvm-svn: 78317
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16TargetObjectFile.h')
| -rw-r--r-- | llvm/lib/Target/PIC16/PIC16TargetObjectFile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h index 708c311e28e..6cc7054e63b 100644 --- a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h +++ b/llvm/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; |

