//===-- W65816MCAsmInfo.cpp - W65816 asm properties -----------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file contains the implementation of the W65816MCAsmInfo class. // //===----------------------------------------------------------------------===// #include "W65816MCAsmInfo.h" using namespace llvm; void W65816MCAsmInfo::anchor() {} W65816MCAsmInfo::W65816MCAsmInfo(const Triple &TT) { // The 65816 address space is 24 bits but LLVM's ELF writer emits 32-bit // pointer-sized DWARF entries; store pointers as 32 bits for DWARF. CodePointerSize = 4; CalleeSaveStackSlotSize = 2; CommentString = ";"; AlignmentIsInBytes = false; UsesELFSectionDirectiveForBSS = true; SupportsDebugInformation = true; }