LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
X86TargetObjectFile.h
Go to the documentation of this file.
1 //===-- 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 
16 
17 namespace llvm {
18 
19  /// X86_64MachoTargetObjectFile - This TLOF implementation is used for Darwin
20  /// x86-64.
22  public:
23  virtual const MCExpr *
25  MachineModuleInfo *MMI, unsigned Encoding,
26  MCStreamer &Streamer) const;
27 
28  // getCFIPersonalitySymbol - The symbol that gets passed to
29  // .cfi_personality.
30  virtual MCSymbol *
32  MachineModuleInfo *MMI) const;
33  };
34 
35  /// X86LinuxTargetObjectFile - This implementation is used for linux x86
36  /// and x86-64.
38  virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
39 
40  /// \brief Describe a TLS variable address within debug info.
41  virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
42  };
43 
44 } // end namespace llvm
45 
46 #endif
virtual const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, Mangler *Mang, MachineModuleInfo *MMI, unsigned Encoding, MCStreamer &Streamer) const
virtual MCSymbol * getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, MachineModuleInfo *MMI) const