xref: /aosp_15_r20/external/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker //===-- SystemZMCAsmInfo.cpp - SystemZ asm properties ---------------------===//
2*9880d681SAndroid Build Coastguard Worker //
3*9880d681SAndroid Build Coastguard Worker //                     The LLVM Compiler Infrastructure
4*9880d681SAndroid Build Coastguard Worker //
5*9880d681SAndroid Build Coastguard Worker // This file is distributed under the University of Illinois Open Source
6*9880d681SAndroid Build Coastguard Worker // License. See LICENSE.TXT for details.
7*9880d681SAndroid Build Coastguard Worker //
8*9880d681SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
9*9880d681SAndroid Build Coastguard Worker 
10*9880d681SAndroid Build Coastguard Worker #include "SystemZMCAsmInfo.h"
11*9880d681SAndroid Build Coastguard Worker #include "llvm/MC/MCContext.h"
12*9880d681SAndroid Build Coastguard Worker #include "llvm/MC/MCSectionELF.h"
13*9880d681SAndroid Build Coastguard Worker 
14*9880d681SAndroid Build Coastguard Worker using namespace llvm;
15*9880d681SAndroid Build Coastguard Worker 
SystemZMCAsmInfo(const Triple & TT)16*9880d681SAndroid Build Coastguard Worker SystemZMCAsmInfo::SystemZMCAsmInfo(const Triple &TT) {
17*9880d681SAndroid Build Coastguard Worker   PointerSize = 8;
18*9880d681SAndroid Build Coastguard Worker   CalleeSaveStackSlotSize = 8;
19*9880d681SAndroid Build Coastguard Worker   IsLittleEndian = false;
20*9880d681SAndroid Build Coastguard Worker 
21*9880d681SAndroid Build Coastguard Worker   CommentString = "#";
22*9880d681SAndroid Build Coastguard Worker   ZeroDirective = "\t.space\t";
23*9880d681SAndroid Build Coastguard Worker   Data64bitsDirective = "\t.quad\t";
24*9880d681SAndroid Build Coastguard Worker   UsesELFSectionDirectiveForBSS = true;
25*9880d681SAndroid Build Coastguard Worker   SupportsDebugInformation = true;
26*9880d681SAndroid Build Coastguard Worker   ExceptionsType = ExceptionHandling::DwarfCFI;
27*9880d681SAndroid Build Coastguard Worker 
28*9880d681SAndroid Build Coastguard Worker   UseIntegratedAssembler = true;
29*9880d681SAndroid Build Coastguard Worker }
30