1 //===-- SystemZMCAsmInfo.cpp - SystemZ asm properties ---------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "SystemZMCAsmInfo.h"
10 #include "llvm/MC/MCContext.h"
11 #include "llvm/MC/MCSectionELF.h"
12 
13 using namespace llvm;
14 
15 SystemZMCAsmInfo::SystemZMCAsmInfo(const Triple &TT) {
16   CodePointerSize = 8;
17   CalleeSaveStackSlotSize = 8;
18   IsLittleEndian = false;
19 
20   MaxInstLength = 6;
21 
22   CommentString = "#";
23   ZeroDirective = "\t.space\t";
24   Data64bitsDirective = "\t.quad\t";
25   UsesELFSectionDirectiveForBSS = true;
26   SupportsDebugInformation = true;
27   ExceptionsType = ExceptionHandling::DwarfCFI;
28 }
29