Chris Lattner | 8c6ed05 | 2009-09-16 01:46:41 +0000 | [diff] [blame^] | 1 | //===-- 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 | |
| 15 | namespace llvm { |
| 16 | |
| 17 | /// X8664_MachoTargetObjectFile - This TLOF implementation is used for |
| 18 | /// Darwin/x86-64. |
| 19 | class X8664_MachoTargetObjectFile : public TargetLoweringObjectFileMachO { |
| 20 | public: |
| 21 | |
| 22 | virtual const MCExpr * |
| 23 | getSymbolForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, |
| 24 | bool &IsIndirect, bool &IsPCRel) const; |
| 25 | }; |
| 26 | } // end namespace llvm |
| 27 | |
| 28 | #endif |