diff options
Diffstat (limited to 'lib/Target/Sparc/SparcTargetAsmInfo.h')
-rw-r--r-- | lib/Target/Sparc/SparcTargetAsmInfo.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcTargetAsmInfo.h b/lib/Target/Sparc/SparcTargetAsmInfo.h new file mode 100644 index 0000000000000..1af5d80b55036 --- /dev/null +++ b/lib/Target/Sparc/SparcTargetAsmInfo.h @@ -0,0 +1,33 @@ +//=====-- SparcTargetAsmInfo.h - Sparc asm properties ---------*- C++ -*--====// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file contains the declaration of the SparcTargetAsmInfo class. +// +//===----------------------------------------------------------------------===// + +#ifndef SPARCTARGETASMINFO_H +#define SPARCTARGETASMINFO_H + +#include "llvm/Target/TargetAsmInfo.h" +#include "llvm/Target/ELFTargetAsmInfo.h" + +namespace llvm { + + // Forward declaration. + class TargetMachine; + + struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo { + explicit SparcELFTargetAsmInfo(const TargetMachine &TM); + + std::string printSectionFlags(unsigned flags) const; + }; + +} // namespace llvm + +#endif |