summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Target/COFFTargetAsmInfo.h
blob: 45eef01d2e4407b19168fbc202238aa858cd95ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//===-- COFFTargetAsmInfo.h - COFF asm properties ---------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_COFF_TARGET_ASM_INFO_H
#define LLVM_COFF_TARGET_ASM_INFO_H

#include "llvm/Target/TargetAsmInfo.h"

namespace llvm {
  class COFFTargetAsmInfo : public TargetAsmInfo {
  protected:
    explicit COFFTargetAsmInfo(const TargetMachine &TM);
  public:

    virtual const char *
    getSectionPrefixForUniqueGlobal(SectionKind kind) const;
    
    virtual void getSectionFlagsAsString(SectionKind Kind,
                                         SmallVectorImpl<char> &Str) const;
  };
}


#endif // LLVM_ELF_TARGET_ASM_INFO_H
OpenPOWER on IntegriCloud