2017-02-22 02:23:18 +01:00
|
|
|
//===-- MCAsmInfoWasm.cpp - Wasm asm properties -----------------*- C++ -*-===//
|
|
|
|
//
|
2019-01-19 09:50:56 +01:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2017-02-22 02:23:18 +01:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// 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;
|
|
|
|
|
2018-09-05 03:27:38 +02:00
|
|
|
void MCAsmInfoWasm::anchor() {}
|
2017-02-22 02:23:18 +01:00
|
|
|
|
|
|
|
MCAsmInfoWasm::MCAsmInfoWasm() {
|
|
|
|
HasIdentDirective = true;
|
2019-02-07 02:24:44 +01:00
|
|
|
HasNoDeadStrip = true;
|
2017-02-22 02:23:18 +01:00
|
|
|
WeakRefDirective = "\t.weak\t";
|
|
|
|
PrivateGlobalPrefix = ".L";
|
|
|
|
PrivateLabelPrefix = ".L";
|
|
|
|
}
|