llvm-project/llvm/lib/Target/CSKY/CSKYTargetObjectFile.h
Zi Xuan Wu 0365c54ca3 [CSKY] Add CSKYTargetObjectFile to support exception handling
Initialize TargetLoweringObjectFileELF and EH header.
2022-03-29 16:05:30 +08:00

25 lines
824 B
C++

//===-- CSKYTargetObjectFile.h - CSKY Object Info -*- C++ ---------------*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_TARGET_CSKY_CSKYTARGETOBJECTFILE_H
#define LLVM_LIB_TARGET_CSKY_CSKYTARGETOBJECTFILE_H
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
namespace llvm {
class CSKYELFTargetObjectFile : public TargetLoweringObjectFileELF {
public:
void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
};
} // namespace llvm
#endif // LLVM_LIB_TARGET_CSKY_CSKYTARGETOBJECTFILE_H