mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-25 19:29:53 +00:00
Accepting quotes is a property of an assembler, not of an object file. For example, ELF can support any names for sections and symbols, but the gnu assembler only accepts quotes in some contexts and llvm-mc in a few more. LLVM should not produce different symbols based on a guess about which assembler will be reading the code it is printing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194575 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
844 B
C++
29 lines
844 B
C++
//===-- MSP430MCAsmInfo.cpp - MSP430 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 MSP430MCAsmInfo properties.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "MSP430MCAsmInfo.h"
|
|
#include "llvm/ADT/StringRef.h"
|
|
using namespace llvm;
|
|
|
|
void MSP430MCAsmInfo::anchor() { }
|
|
|
|
MSP430MCAsmInfo::MSP430MCAsmInfo(StringRef TT) {
|
|
PointerSize = CalleeSaveStackSlotSize = 2;
|
|
|
|
PrivateGlobalPrefix = ".L";
|
|
CommentString = ";";
|
|
|
|
AlignmentIsInBytes = false;
|
|
UsesELFSectionDirectiveForBSS = true;
|
|
}
|