2013-05-07 00:15:19 +08:00
|
|
|
//===-- SystemZMCAsmInfo.cpp - SystemZ asm properties ---------------------===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// 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
|
2013-05-07 00:15:19 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "SystemZMCAsmInfo.h"
|
|
|
|
#include "llvm/MC/MCContext.h"
|
|
|
|
#include "llvm/MC/MCSectionELF.h"
|
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
2015-09-16 00:17:27 +08:00
|
|
|
SystemZMCAsmInfo::SystemZMCAsmInfo(const Triple &TT) {
|
2017-04-18 01:41:25 +08:00
|
|
|
CodePointerSize = 8;
|
2013-05-07 00:15:19 +08:00
|
|
|
CalleeSaveStackSlotSize = 8;
|
|
|
|
IsLittleEndian = false;
|
|
|
|
|
2020-10-24 02:45:54 +08:00
|
|
|
MaxInstLength = 6;
|
|
|
|
|
2013-05-07 00:15:19 +08:00
|
|
|
CommentString = "#";
|
|
|
|
ZeroDirective = "\t.space\t";
|
|
|
|
Data64bitsDirective = "\t.quad\t";
|
|
|
|
UsesELFSectionDirectiveForBSS = true;
|
|
|
|
SupportsDebugInformation = true;
|
|
|
|
ExceptionsType = ExceptionHandling::DwarfCFI;
|
|
|
|
}
|