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 SystemZMCAsmInfo(const Triple & TT)15SystemZMCAsmInfo::SystemZMCAsmInfo(const Triple &TT) { 16 CodePointerSize = 8; 17 CalleeSaveStackSlotSize = 8; 18 IsLittleEndian = false; 19 20 CommentString = "#"; 21 ZeroDirective = "\t.space\t"; 22 Data64bitsDirective = "\t.quad\t"; 23 UsesELFSectionDirectiveForBSS = true; 24 SupportsDebugInformation = true; 25 ExceptionsType = ExceptionHandling::DwarfCFI; 26 27 UseIntegratedAssembler = true; 28 } 29