| OLD | NEW |
| 1 //===-- X86TargetObjectFile.h - X86 Object Info -----------------*- C++ -*-===// | 1 //===-- X86TargetObjectFile.h - X86 Object Info -----------------*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 | 9 |
| 10 #ifndef LLVM_LIB_TARGET_X86_X86TARGETOBJECTFILE_H | 10 #ifndef LLVM_LIB_TARGET_X86_X86TARGETOBJECTFILE_H |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 const MCExpr * | 46 const MCExpr * |
| 47 getExecutableRelativeSymbol(const ConstantExpr *CE, Mangler &Mang, | 47 getExecutableRelativeSymbol(const ConstantExpr *CE, Mangler &Mang, |
| 48 const TargetMachine &TM) const override; | 48 const TargetMachine &TM) const override; |
| 49 | 49 |
| 50 /// \brief Given a mergeable constant with the specified size and relocation | 50 /// \brief Given a mergeable constant with the specified size and relocation |
| 51 /// information, return a section that it should be placed in. | 51 /// information, return a section that it should be placed in. |
| 52 const MCSection *getSectionForConstant(SectionKind Kind, | 52 const MCSection *getSectionForConstant(SectionKind Kind, |
| 53 const Constant *C) const override; | 53 const Constant *C) const override; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 // @LOCALMOD-BEGIN |
| 57 class TargetLoweringObjectFileNaCl : public TargetLoweringObjectFileELF { |
| 58 public: |
| 59 virtual void Initialize(MCContext &ctx, const TargetMachine &TM); |
| 60 }; |
| 61 // @LOCALMOD-END |
| 62 |
| 56 } // end namespace llvm | 63 } // end namespace llvm |
| 57 | 64 |
| 58 #endif | 65 #endif |
| OLD | NEW |