We need to propagate the debug location information even when dealing with the
[oota-llvm.git] / lib / Target / Sparc / SparcTargetAsmInfo.h
index 854390ce64a0150f41c75d214d308533bf5e97d8..1af5d80b550362f0375cc10842dfb55f18f6823d 100644 (file)
 #define SPARCTARGETASMINFO_H
 
 #include "llvm/Target/TargetAsmInfo.h"
+#include "llvm/Target/ELFTargetAsmInfo.h"
 
 namespace llvm {
 
   // Forward declaration.
-  class SparcTargetMachine;
+  class TargetMachine;
 
-  struct SparcTargetAsmInfo : public TargetAsmInfo {
-    explicit SparcTargetAsmInfo(const SparcTargetMachine &TM);
-  };
+  struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo {
+    explicit SparcELFTargetAsmInfo(const TargetMachine &TM);
 
+    std::string printSectionFlags(unsigned flags) const;
+  };
 
 } // namespace llvm