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 | 302041d5c9e43e0acb3e477e04b0250f6f6477c6 (patch) | |
tree | 4a46456a5f2d965605b8a6a74b5a76ce83f2a6b9 /llvm/lib/Target/PIC16/PIC16TargetObjectFile.h | |
parent | e7064fdc9d804f8d89db9607156a897d6c33c730 (diff) | |
download | bcm5719-llvm-302041d5c9e43e0acb3e477e04b0250f6f6477c6.tar.gz bcm5719-llvm-302041d5c9e43e0acb3e477e04b0250f6f6477c6.zip |
sink getOrCreateSection down into all the object file implementations,
now that they create *all* the sections.
llvm-svn: 78494
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16TargetObjectFile.h')
-rw-r--r-- | llvm/lib/Target/PIC16/PIC16TargetObjectFile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h index c2611087b50..b71a7050a71 100644 --- a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h +++ b/llvm/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; |