We need to propagate the debug location information even when dealing with the
[oota-llvm.git] / lib / Target / Sparc / SparcTargetAsmInfo.h
index 6b2dc59847c65a2d0cf549005995756ae24656a0..1af5d80b550362f0375cc10842dfb55f18f6823d 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by James M. Laskey and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
 #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 {
-    SparcTargetAsmInfo(const SparcTargetMachine &TM);
-  };
+  struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo {
+    explicit SparcELFTargetAsmInfo(const TargetMachine &TM);
 
+    std::string printSectionFlags(unsigned flags) const;
+  };
 
 } // namespace llvm