mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
155df8a79e
adding a TargetMachine member to the base TargetAsmInfo class instead. llvm-svn: 58624
27 lines
867 B
C++
27 lines
867 B
C++
//===-- AlphaTargetAsmInfo.cpp - Alpha asm properties -----------*- C++ -*-===//
|
|
//
|
|
// 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 AlphaTargetAsmInfo properties.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "AlphaTargetMachine.h"
|
|
#include "AlphaTargetAsmInfo.h"
|
|
|
|
using namespace llvm;
|
|
|
|
AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM)
|
|
: TargetAsmInfo(TM) {
|
|
AlignmentIsInBytes = false;
|
|
PrivateGlobalPrefix = "$";
|
|
JumpTableDirective = ".gprel32";
|
|
JumpTableDataSection = "\t.section .rodata\n";
|
|
WeakRefDirective = "\t.weak\t";
|
|
}
|