LLVM 22.0.0git
MCAsmInfoCOFF.h
Go to the documentation of this file.
1//===- MCAsmInfoCOFF.h - COFF 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_MCASMINFOCOFF_H
10#define LLVM_MC_MCASMINFOCOFF_H
11
12#include "llvm/MC/MCAsmInfo.h"
13
14namespace llvm {
15
16class MCAsmInfoCOFF : public MCAsmInfo {
17 virtual void anchor();
18 void printSwitchToSection(const MCSection &, uint32_t, const Triple &,
19 raw_ostream &) const final;
20 bool useCodeAlign(const MCSection &Sec) const final;
21
22protected:
23 explicit MCAsmInfoCOFF();
24};
25
27 void anchor() override;
28
29protected:
31};
32
34 void anchor() override;
35
36protected:
37 explicit MCAsmInfoGNUCOFF();
38};
39
40} // end namespace llvm
41
42#endif // LLVM_MC_MCASMINFOCOFF_H
This class is intended to be used as a base class for asm properties and features specific to the tar...
Definition: MCAsmInfo.h:64
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
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18