Change allowsUnalignedMemoryAccesses to take type argument since some targets
[llvm/avr.git] / lib / Target / XCore / XCoreTargetAsmInfo.cpp
blob9cd87a57551ff8e799c84f6587d1cf0c19112e5e
1 //===-- XCoreTargetAsmInfo.cpp - XCore asm properties ---------------------===//
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 //===----------------------------------------------------------------------===//
10 #include "XCoreTargetAsmInfo.h"
11 using namespace llvm;
13 XCoreTargetAsmInfo::XCoreTargetAsmInfo(const Target &T, const StringRef &TT) {
14 SupportsDebugInformation = true;
15 Data16bitsDirective = "\t.short\t";
16 Data32bitsDirective = "\t.long\t";
17 Data64bitsDirective = 0;
18 ZeroDirective = "\t.space\t";
19 CommentString = "#";
21 PrivateGlobalPrefix = ".L";
22 AscizDirective = ".asciiz";
23 WeakDefDirective = "\t.weak\t";
24 WeakRefDirective = "\t.weak\t";
25 SetDirective = "\t.set\t";
27 // Debug
28 HasLEB128 = true;
29 AbsoluteDebugSectionOffsets = true;