1 //===-- MCAsmInfoWasm.cpp - Wasm asm properties -----------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines target asm properties related what form asm statements
11 // should take in general on Wasm-based targets
13 //===----------------------------------------------------------------------===//
15 #include "llvm/MC/MCAsmInfoWasm.h"
16 #include "llvm/MC/MCContext.h"
17 #include "llvm/MC/MCSectionWasm.h"
20 void MCAsmInfoWasm::anchor() { }
22 MCAsmInfoWasm::MCAsmInfoWasm() {
23 HasIdentDirective = true;
24 WeakRefDirective = "\t.weak\t";
25 PrivateGlobalPrefix = ".L";
26 PrivateLabelPrefix = ".L";