blob: 377a93bb71529a77c37d37dd63f56bf8d449c4a4 [file] [log] [blame]
Chris Lattner8c6ed052009-09-16 01:46:41 +00001//===-- llvm/Target/X86/X86TargetObjectFile.h - X86 Object Info -*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef LLVM_TARGET_X86_TARGETOBJECTFILE_H
11#define LLVM_TARGET_X86_TARGETOBJECTFILE_H
12
13#include "llvm/Target/TargetLoweringObjectFile.h"
14
15namespace llvm {
16
Chris Lattner228252f2009-09-18 20:22:52 +000017 /// X8632_MachoTargetObjectFile - This TLOF implementation is used for
18 /// Darwin/x86-32.
19 class X8632_MachoTargetObjectFile : public TargetLoweringObjectFileMachO {
20 public:
21
22 virtual const MCExpr *
23 getSymbolForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
24 MachineModuleInfo *MMI,
25 bool &IsIndirect, bool &IsPCRel) const;
26 };
27
Chris Lattner8c6ed052009-09-16 01:46:41 +000028 /// X8664_MachoTargetObjectFile - This TLOF implementation is used for
29 /// Darwin/x86-64.
30 class X8664_MachoTargetObjectFile : public TargetLoweringObjectFileMachO {
31 public:
32
33 virtual const MCExpr *
34 getSymbolForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
Chris Lattner8609c7c2009-09-17 18:49:52 +000035 MachineModuleInfo *MMI,
Chris Lattner8c6ed052009-09-16 01:46:41 +000036 bool &IsIndirect, bool &IsPCRel) const;
37 };
38} // end namespace llvm
39
40#endif