mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +00:00
TargetLoweringObjectFileImpl down to MCObjectFileInfo. TargetAsmInfo is done to one last method. It's *almost* gone! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135569 91177308-0d34-0410-b5e6-96231b3b80d8
36 lines
930 B
C++
36 lines
930 B
C++
//===-- llvm/Target/TargetAsmInfo.h -----------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Interface to provide the information necessary for producing assembly files.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TARGET_TARGETASMINFO_H
|
|
#define LLVM_TARGET_TARGETASMINFO_H
|
|
|
|
#include "llvm/Target/TargetLoweringObjectFile.h"
|
|
|
|
namespace llvm {
|
|
class TargetMachine;
|
|
class TargetLoweringObjectFile;
|
|
|
|
class TargetAsmInfo {
|
|
const TargetLoweringObjectFile *TLOF;
|
|
|
|
public:
|
|
explicit TargetAsmInfo(const TargetMachine &TM);
|
|
|
|
unsigned getFDEEncoding(bool CFI) const {
|
|
return TLOF->getFDEEncoding(CFI);
|
|
}
|
|
};
|
|
|
|
}
|
|
#endif
|