mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-30 08:24:12 +00:00
X86 implementation of the TargetELFWriterInfo class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4f45222baa
commit
40d776469d
17
lib/Target/X86/X86ELFWriterInfo.cpp
Normal file
17
lib/Target/X86/X86ELFWriterInfo.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
//===-- X86ELFWriterInfo.cpp - ELF Writer Info for the X86 backend --------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file was developed by Bill Wendling and is distributed under the
|
||||
// University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file implements ELF writer information for the X86 backend.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "X86ELFWriterInfo.h"
|
||||
using namespace llvm;
|
||||
|
||||
X86ELFWriterInfo::X86ELFWriterInfo() : TargetELFWriterInfo(EM_386) {}
|
29
lib/Target/X86/X86ELFWriterInfo.h
Normal file
29
lib/Target/X86/X86ELFWriterInfo.h
Normal file
@ -0,0 +1,29 @@
|
||||
//===-- X86ELFWriterInfo.h - ELF Writer Info for X86 ------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file was developed by Bill Wendling and is distributed under the
|
||||
// University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file implements ELF writer information for the X86 backend.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef X86_ELF_WRITER_INFO_H
|
||||
#define X86_ELF_WRITER_INFO_H
|
||||
|
||||
#include "llvm/Target/TargetELFWriterInfo.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class X86ELFWriterInfo : public TargetELFWriterInfo {
|
||||
public:
|
||||
X86ELFWriterInfo();
|
||||
virtual ~X86ELFWriterInfo() {}
|
||||
};
|
||||
|
||||
} // end llvm namespace
|
||||
|
||||
#endif // X86_ELF_WRITER_INFO_H
|
Loading…
Reference in New Issue
Block a user