LLVM 22.0.0git
MCAsmInfoXCOFF.h
Go to the documentation of this file.
1//===- MCAsmInfoXCOFF.h - XCOFF asm properties ----------------- *- C++ -*-===//
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#ifndef LLVM_MC_MCASMINFOXCOFF_H
10#define LLVM_MC_MCASMINFOXCOFF_H
11
12#include "llvm/MC/MCAsmInfo.h"
13
14namespace llvm {
15
16class MCAsmInfoXCOFF : public MCAsmInfo {
17protected:
19 void printSwitchToSection(const MCSection &, uint32_t, const Triple &,
20 raw_ostream &) const final;
21 bool useCodeAlign(const MCSection &Sec) const final;
22
23public:
24 // Return true only when C is an acceptable character inside a
25 // MCSymbolXCOFF.
26 bool isAcceptableChar(char C) const override;
27};
28
29} // end namespace llvm
30
31#endif // LLVM_MC_MCASMINFOXCOFF_H
void printSwitchToSection(const MCSection &, uint32_t, const Triple &, raw_ostream &) const final
bool useCodeAlign(const MCSection &Sec) const final
bool isAcceptableChar(char C) const override
Return true if C is an acceptable character inside a symbol name.
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition MCSection.h:496
Triple - Helper class for working with autoconf configuration names.
Definition Triple.h:47
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
@ C
The default llvm calling convention, compatible with C.
Definition CallingConv.h:34
This is an optimization pass for GlobalISel generic memory operations.