blob: 65a937b7716f2d39981a547b4041d02fcb77478f [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;
21 WeakRefDirective = "\t.weak\t";
22 PrivateGlobalPrefix = ".L";
23 PrivateLabelPrefix = ".L";
24}