LLVM API Documentation
00001 //===-- XCoreTargetAsmInfo.cpp - XCore asm properties ---------------------===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #include "XCoreTargetAsmInfo.h" 00011 using namespace llvm; 00012 00013 XCoreTargetAsmInfo::XCoreTargetAsmInfo(const Target &T, const StringRef &TT) { 00014 SupportsDebugInformation = true; 00015 Data16bitsDirective = "\t.short\t"; 00016 Data32bitsDirective = "\t.long\t"; 00017 Data64bitsDirective = 0; 00018 ZeroDirective = "\t.space\t"; 00019 CommentString = "#"; 00020 00021 PrivateGlobalPrefix = ".L"; 00022 AscizDirective = ".asciiz"; 00023 WeakDefDirective = "\t.weak\t"; 00024 WeakRefDirective = "\t.weak\t"; 00025 SetDirective = "\t.set\t"; 00026 00027 // Debug 00028 HasLEB128 = true; 00029 AbsoluteDebugSectionOffsets = true; 00030 } 00031