blob: ce6ec7ef211e5199c7939f0cedce4e311f97e9b4 [file] [log] [blame]
Dan Gohman18eafb62017-02-22 01:23:18 +00001//===-- MCAsmInfoWasm.cpp - Wasm asm properties -----------------*- C++ -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Dan Gohman18eafb62017-02-22 01:23:18 +00006//
7//===----------------------------------------------------------------------===//
8//
9// This file defines target asm properties related what form asm statements
10// should take in general on Wasm-based targets
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm/MC/MCAsmInfoWasm.h"
Dan Gohman18eafb62017-02-22 01:23:18 +000015using namespace llvm;
16
Heejin Ahnf208f632018-09-05 01:27:38 +000017void MCAsmInfoWasm::anchor() {}
Dan Gohman18eafb62017-02-22 01:23:18 +000018
19MCAsmInfoWasm::MCAsmInfoWasm() {
20 HasIdentDirective = true;
Sam Cleggd6ef8da2019-02-07 01:24:44 +000021 HasNoDeadStrip = true;
Dan Gohman18eafb62017-02-22 01:23:18 +000022 WeakRefDirective = "\t.weak\t";
23 PrivateGlobalPrefix = ".L";
24 PrivateLabelPrefix = ".L";
25}