1 //===- ARCMCAsmInfo.cpp - ARC asm properties --------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #include "ARCMCAsmInfo.h" 11 using namespace llvm; 12 anchor()13void ARCMCAsmInfo::anchor() {} 14 ARCMCAsmInfo(const Triple & TT)15ARCMCAsmInfo::ARCMCAsmInfo(const Triple &TT) { 16 SupportsDebugInformation = true; 17 Data16bitsDirective = "\t.short\t"; 18 Data32bitsDirective = "\t.word\t"; 19 Data64bitsDirective = nullptr; 20 ZeroDirective = "\t.space\t"; 21 CommentString = ";"; 22 23 UsesELFSectionDirectiveForBSS = true; 24 AllowAtInName = true; 25 HiddenVisibilityAttr = MCSA_Invalid; 26 HiddenDeclarationVisibilityAttr = MCSA_Invalid; 27 ProtectedVisibilityAttr = MCSA_Invalid; 28 29 // Debug 30 ExceptionsType = ExceptionHandling::DwarfCFI; 31 DwarfRegNumForCFI = true; 32 } 33