diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-08 20:14:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-08 20:14:13 +0000 |
commit | fbf1d271e6a7157c1b5432e84d5633f63869b5a8 (patch) | |
tree | 4cf9df200e26dc13503b4d8654c6beb95a5a864a /lib/Target/PIC16/PIC16TargetObjectFile.h | |
parent | d34ab83c1658b60ce7dd3cdaf955c808dd742b21 (diff) |
sink getOrCreateSection down into all the object file implementations,
now that they create *all* the sections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16TargetObjectFile.h')
-rw-r--r-- | lib/Target/PIC16/PIC16TargetObjectFile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16TargetObjectFile.h b/lib/Target/PIC16/PIC16TargetObjectFile.h index c2611087b5..b71a7050a7 100644 --- a/lib/Target/PIC16/PIC16TargetObjectFile.h +++ b/lib/Target/PIC16/PIC16TargetObjectFile.h @@ -45,6 +45,10 @@ namespace llvm { class PIC16TargetObjectFile : public TargetLoweringObjectFile { const TargetMachine *TM; + + const MCSection *getOrCreateSection(const char *Name, + bool isDirective, + SectionKind K) const; public: mutable std::vector<PIC16Section*> BSSSections; mutable std::vector<PIC16Section*> IDATASections; |