mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
c997d45ae5
Emission for globals, using the correct data sections Function alignment can be computed for each target using TargetELFWriterInfo Some small fixes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73201 91177308-0d34-0410-b5e6-96231b3b80d8
32 lines
894 B
C++
32 lines
894 B
C++
//===-- X86ELFWriterInfo.h - ELF Writer Info for X86 ------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file 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(TargetMachine &TM);
|
|
virtual ~X86ELFWriterInfo();
|
|
|
|
virtual unsigned getFunctionAlignment(const Function *F) const;
|
|
};
|
|
|
|
} // end llvm namespace
|
|
|
|
#endif // X86_ELF_WRITER_INFO_H
|