blob: d448664baa1430fa50ceeb641ffa2016c249b004 [file] [log] [blame]
Dan Gohmand660a5d2017-02-22 01:23:18 +00001//===-- MCAsmInfoWasm.cpp - Wasm asm properties -----------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file defines target asm properties related what form asm statements
11// should take in general on Wasm-based targets
12//
13//===----------------------------------------------------------------------===//
14
15#include "llvm/MC/MCAsmInfoWasm.h"
Dan Gohmand660a5d2017-02-22 01:23:18 +000016using namespace llvm;
17
Heejin Ahn581d2312018-09-05 01:27:38 +000018void MCAsmInfoWasm::anchor() {}
Dan Gohmand660a5d2017-02-22 01:23:18 +000019
20MCAsmInfoWasm::MCAsmInfoWasm() {
21 HasIdentDirective = true;
22 WeakRefDirective = "\t.weak\t";
23 PrivateGlobalPrefix = ".L";
24 PrivateLabelPrefix = ".L";
25}