mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 05:35:11 +00:00
ac904a2343
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320624 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
801 B
C++
26 lines
801 B
C++
//===-- MCAsmInfoWasm.cpp - Wasm 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 Wasm-based targets
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/MC/MCAsmInfoWasm.h"
|
|
using namespace llvm;
|
|
|
|
void MCAsmInfoWasm::anchor() { }
|
|
|
|
MCAsmInfoWasm::MCAsmInfoWasm() {
|
|
HasIdentDirective = true;
|
|
WeakRefDirective = "\t.weak\t";
|
|
PrivateGlobalPrefix = ".L";
|
|
PrivateLabelPrefix = ".L";
|
|
}
|