LLVM 22.0.0git
MCSectionDXContainer.h
Go to the documentation of this file.
1//===- MCSectionDXContainer.h - DXContainer MC Sections ---------*- 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// This file declares the MCSectionDXContainer class.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_MC_MCSECTIONDXCONTAINER_H
14#define LLVM_MC_MCSECTIONDXCONTAINER_H
15
16#include "llvm/MC/MCSection.h"
17#include "llvm/MC/SectionKind.h"
18
19namespace llvm {
20
21class MCSymbol;
22
23class MCSectionDXContainer final : public MCSection {
24 friend class MCContext;
25
26 MCSectionDXContainer(StringRef Name, SectionKind K, MCSymbol *Begin)
27 : MCSection(Name, K.isText(), /*IsVirtual=*/false, Begin) {}
28};
29
30} // end namespace llvm
31
32#endif // LLVM_MC_MCSECTIONDXCONTAINER_H
bool isText() const
Definition MCSection.h:566
StringRef Name
Definition MCSection.h:557
MCSection(StringRef Name, bool IsText, bool IsBss, MCSymbol *Begin)
Definition MCSection.cpp:21
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition MCSymbol.h:42
SectionKind - This is a simple POD value that classifies the properties of a section.
Definition SectionKind.h:22
StringRef - Represent a constant reference to a string, i.e.
Definition StringRef.h:55
This is an optimization pass for GlobalISel generic memory operations.