| 1 | //===-- XCoreMCAsmInfo.cpp - XCore 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 "XCoreMCAsmInfo.h" |
| 10 | using namespace llvm; |
| 11 | |
| 12 | void XCoreMCAsmInfo::anchor() { } |
| 13 | |
| 14 | XCoreMCAsmInfo::XCoreMCAsmInfo(const Triple &TT) { |
| 15 | SupportsDebugInformation = true; |
| 16 | Data16bitsDirective = "\t.short\t"; |
| 17 | Data32bitsDirective = "\t.long\t"; |
| 18 | Data64bitsDirective = nullptr; |
| 19 | ZeroDirective = "\t.space\t"; |
| 20 | CommentString = "#"; |
| 21 | |
| 22 | AscizDirective = ".asciiz"; |
| 23 | |
| 24 | HiddenVisibilityAttr = MCSA_Invalid; |
| 25 | HiddenDeclarationVisibilityAttr = MCSA_Invalid; |
| 26 | ProtectedVisibilityAttr = MCSA_Invalid; |
| 27 | |
| 28 | // Debug |
| 29 | ExceptionsType = ExceptionHandling::DwarfCFI; |
| 30 | DwarfRegNumForCFI = true; |
| 31 | |
| 32 | UseIntegratedAssembler = false; |
| 33 | } |
| 34 | |
| 35 |