2017-02-22 09:23:18 +08:00
|
|
|
//===-- MCAsmInfoWasm.cpp - Wasm asm properties -----------------*- C++ -*-===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08: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 09:23:18 +08: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 09:27:38 +08:00
|
|
|
void MCAsmInfoWasm::anchor() {}
|
2017-02-22 09:23:18 +08:00
|
|
|
|
|
|
|
MCAsmInfoWasm::MCAsmInfoWasm() {
|
|
|
|
HasIdentDirective = true;
|
2019-02-07 09:24:44 +08:00
|
|
|
HasNoDeadStrip = true;
|
2017-02-22 09:23:18 +08:00
|
|
|
WeakRefDirective = "\t.weak\t";
|
|
|
|
PrivateGlobalPrefix = ".L";
|
|
|
|
PrivateLabelPrefix = ".L";
|
|
|
|
}
|