blob: c86bf405b8e91b5e1c5fc191d33caacb3bff0e77 [file] [log] [blame]
Akira Hatanaka4552c9a2011-04-15 21:51:11 +00001//===-- MipsMCAsmInfo.cpp - Mips asm properties ---------------------------===//
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +00002//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +00007//
Akira Hatanaka4552c9a2011-04-15 21:51:11 +00008//===----------------------------------------------------------------------===//
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +00009//
Chris Lattneraf76e592009-08-22 20:48:53 +000010// This file contains the declarations of the MipsMCAsmInfo properties.
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000011//
Akira Hatanaka4552c9a2011-04-15 21:51:11 +000012//===----------------------------------------------------------------------===//
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000013
Chris Lattneraf76e592009-08-22 20:48:53 +000014#include "MipsMCAsmInfo.h"
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000015using namespace llvm;
16
Benjamin Kramer38e59892010-07-14 22:38:02 +000017MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, StringRef TT) {
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000018 AlignmentIsInBytes = false;
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000019 Data16bitsDirective = "\t.half\t";
Akira Hatanakacf0cd802011-05-26 18:59:03 +000020 Data32bitsDirective = "\t.4byte\t";
Benjamin Kramerecf046b2009-08-22 22:07:08 +000021 Data64bitsDirective = 0;
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000022 PrivateGlobalPrefix = "$";
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000023 CommentString = "#";
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000024 ZeroDirective = "\t.space\t";
Chris Lattner78f485a2010-01-25 21:10:10 +000025 GPRel32Directive = "\t.gpword\t";
Akira Hatanaka37d22d92011-05-25 23:30:30 +000026 WeakRefDirective = "\t.weak\t";
Akira Hatanakacf0cd802011-05-26 18:59:03 +000027
28 SupportsDebugInformation = true;
29 ExceptionsType = ExceptionHandling::DwarfCFI;
30 HasLEB128 = true;
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000031}