1. Make MCSection an abstract class.
[oota-llvm.git] / lib / Target / PIC16 / PIC16TargetObjectFile.h
index c2611087b50688cb273d3422527fc99ca49e93f2..f8389a6adc7529f14004233d20f800a0d30278a5 100644 (file)
@@ -26,7 +26,7 @@ namespace llvm {
   /// again and printing only those that match the current section. 
   /// Keeping values inside the sections make printing a section much easier.
   ///
-  /// FIXME: Reimplement by inheriting from MCSection.
+  /// FIXME: MOVE ALL THIS STUFF TO MCSectionPIC16.
   ///
   struct PIC16Section {
     const MCSection *S_; // Connection to actual Section.
@@ -45,6 +45,9 @@ namespace llvm {
   
   class PIC16TargetObjectFile : public TargetLoweringObjectFile {
     const TargetMachine *TM;
+    
+    const MCSection *getPIC16Section(const char *Name, bool isDirective,
+                                     SectionKind K) const;
   public:
     mutable std::vector<PIC16Section*> BSSSections;
     mutable std::vector<PIC16Section*> IDATASections;