mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
6c04bbc435
Add basis of CSKY MCTargetDesc and it's enough to compile and link but doesn't yet do anything particularly useful. Once an ASM parser and printer are added in the next two patches, the whole thing can be usefully tested. Differential Revision: https://reviews.llvm.org/D93372
26 lines
831 B
C++
26 lines
831 B
C++
//===-- CSKYMCAsmInfo.cpp - CSKY Asm properties ---------------------------===//
|
|
//
|
|
// 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the declarations of the CSKYMCAsmInfo properties.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "CSKYMCAsmInfo.h"
|
|
#include "llvm/BinaryFormat/Dwarf.h"
|
|
#include "llvm/MC/MCStreamer.h"
|
|
|
|
using namespace llvm;
|
|
|
|
void CSKYMCAsmInfo::anchor() {}
|
|
|
|
CSKYMCAsmInfo::CSKYMCAsmInfo(const Triple &TargetTriple) {
|
|
AlignmentIsInBytes = false;
|
|
SupportsDebugInformation = true;
|
|
CommentString = "#";
|
|
}
|