mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
90d8b36e1e
We had a MCAsmInfoCOFF, but no common class for all the ELF MCAsmInfos before. llvm-svn: 192760
24 lines
737 B
C++
24 lines
737 B
C++
//===-- MCAsmInfoELF.cpp - ELF 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 defines target asm properties related what form asm statements
|
|
// should take in general on ELF-based targets
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/MC/MCAsmInfoELF.h"
|
|
using namespace llvm;
|
|
|
|
void MCAsmInfoELF::anchor() { }
|
|
|
|
MCAsmInfoELF::MCAsmInfoELF() {
|
|
HasIdentDirective = true;
|
|
WeakRefDirective = "\t.weak\t";
|
|
}
|