mirror of
https://github.com/jeremysrand/llvm-65816.git
synced 2024-08-20 21:29:32 +00:00
47 lines
1.3 KiB
C++
47 lines
1.3 KiB
C++
//===-- WDC65816MCAsmInfo.cpp - WDC65816 asm properties -------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the declarations of the WDC65816MCAsmInfo properties.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "WDC65816MCAsmInfo.h"
|
|
#include "llvm/ADT/Triple.h"
|
|
|
|
using namespace llvm;
|
|
|
|
void WDC65816ELFMCAsmInfo::anchor() { }
|
|
|
|
WDC65816ELFMCAsmInfo::WDC65816ELFMCAsmInfo(StringRef TT) {
|
|
IsLittleEndian = true;
|
|
Triple TheTriple(TT);
|
|
|
|
PointerSize = CalleeSaveStackSlotSize = 4;
|
|
|
|
#if 0 // WDC_TODO - Do I need any of this?
|
|
Data16bitsDirective = "\t.half\t";
|
|
Data32bitsDirective = "\t.word\t";
|
|
// .xword is only supported by V9.
|
|
Data64bitsDirective = (isV9) ? "\t.xword\t" : 0;
|
|
ZeroDirective = "\t.skip\t";
|
|
CommentString = "!";
|
|
HasLEB128 = true;
|
|
SupportsDebugInformation = true;
|
|
|
|
ExceptionsType = ExceptionHandling::DwarfCFI;
|
|
|
|
SunStyleELFSectionSwitchSyntax = true;
|
|
UsesELFSectionDirectiveForBSS = true;
|
|
|
|
PrivateGlobalPrefix = ".L";
|
|
#endif
|
|
}
|
|
|
|
|