summaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCAsmInfoDarwin.h
blob: 634f163d84ecd109c4eab17e80b21f0b69e4dc95 (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
31
32
33
34
//===---- MCAsmInfoDarwin.h - Darwin 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 defines target asm properties related what form asm statements
// should take in general on Darwin-based targets
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_DARWIN_TARGET_ASM_INFO_H
#define LLVM_DARWIN_TARGET_ASM_INFO_H

#include "llvm/MC/MCAsmInfo.h"

namespace llvm {
  class GlobalValue;
  class GlobalVariable;
  class Type;
  class Mangler;

  struct MCAsmInfoDarwin : public MCAsmInfo {
    explicit MCAsmInfoDarwin();
    virtual const MCExpr *
    getExprForFDESymbol(const MCSymbol *Sym, MCStreamer &Streamer) const;
  };
}


#endif // LLVM_DARWIN_TARGET_ASM_INFO_H