Line data Source code
1 : //===-- 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"
16 : using namespace llvm;
17 :
18 0 : void MCAsmInfoWasm::anchor() {}
19 :
20 357 : MCAsmInfoWasm::MCAsmInfoWasm() {
21 357 : HasIdentDirective = true;
22 357 : WeakRefDirective = "\t.weak\t";
23 357 : PrivateGlobalPrefix = ".L";
24 357 : PrivateLabelPrefix = ".L";
25 357 : }
|