1//===- MCAsmInfoGOFF.cpp - MCGOFFAsmInfo properties -----------------------===//
2//
3// 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
6//
7//===----------------------------------------------------------------------===//
8///
9/// \file
10/// This file defines certain target specific asm properties for GOFF (z/OS)
11/// based targets.
12///
13//===----------------------------------------------------------------------===//
14
15#include "llvm/MC/MCAsmInfoGOFF.h"
16#include "llvm/Support/ErrorHandling.h"
17
18using namespace llvm;
19
20MCAsmInfoGOFF::MCAsmInfoGOFF(const MCTargetOptions &Options)
21 : MCAsmInfo(Options) {
22 Data64bitsDirective = "\t.quad\t";
23 WeakRefDirective = "WXTRN";
24 InternalSymbolPrefix = "L#";
25 ZeroDirective = "\t.space\t";
26}
27
28void MCAsmInfoGOFF::printSwitchToSection(const MCSection &, uint32_t,
29 const Triple &, raw_ostream &) const {
30 llvm_unreachable("GOFF section switching is handled by the HLASM streamer");
31}
32