untangle a TargetAsmInfo hack where ELFTargetAsmInfo would create a
[oota-llvm.git] / lib / Target / Sparc / SparcTargetAsmInfo.h
index 253a5d78f05efbb95b131edd5651ade9798cf686..cf65c1f914e3e64ccc4ee09b9807f3c524360900 100644 (file)
@@ -14,7 +14,6 @@
 #ifndef SPARCTARGETASMINFO_H
 #define SPARCTARGETASMINFO_H
 
-#include "llvm/Target/TargetAsmInfo.h"
 #include "llvm/Target/ELFTargetAsmInfo.h"
 
 namespace llvm {
@@ -25,7 +24,9 @@ namespace llvm {
   struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo {
     explicit SparcELFTargetAsmInfo(const TargetMachine &TM);
 
-    std::string PrintSectionFlags(unsigned flags) const;
+    virtual void getSectionFlags(unsigned Flags,
+                                 SmallVectorImpl<char> &Str) const;
+
   };
 
 } // namespace llvm