forked from OSchip/llvm-project
33 lines
954 B
C++
33 lines
954 B
C++
//===- ARCMCAsmInfo.cpp - ARC asm properties --------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "ARCMCAsmInfo.h"
|
|
using namespace llvm;
|
|
|
|
void ARCMCAsmInfo::anchor() {}
|
|
|
|
ARCMCAsmInfo::ARCMCAsmInfo(const Triple &TT) {
|
|
SupportsDebugInformation = true;
|
|
Data16bitsDirective = "\t.short\t";
|
|
Data32bitsDirective = "\t.word\t";
|
|
Data64bitsDirective = nullptr;
|
|
ZeroDirective = "\t.space\t";
|
|
CommentString = ";";
|
|
|
|
UsesELFSectionDirectiveForBSS = true;
|
|
AllowAtInName = true;
|
|
HiddenVisibilityAttr = MCSA_Invalid;
|
|
HiddenDeclarationVisibilityAttr = MCSA_Invalid;
|
|
ProtectedVisibilityAttr = MCSA_Invalid;
|
|
|
|
// Debug
|
|
ExceptionsType = ExceptionHandling::DwarfCFI;
|
|
DwarfRegNumForCFI = true;
|
|
}
|