Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:14

0001 //===- MCSectionDXContainer.h - DXContainer MC Sections ---------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 // This file declares the MCSectionDXContainer class.
0010 //
0011 //===----------------------------------------------------------------------===//
0012 
0013 #ifndef LLVM_MC_MCSECTIONDXCONTAINER_H
0014 #define LLVM_MC_MCSECTIONDXCONTAINER_H
0015 
0016 #include "llvm/MC/MCSection.h"
0017 #include "llvm/MC/SectionKind.h"
0018 
0019 namespace llvm {
0020 
0021 class MCSymbol;
0022 
0023 class MCSectionDXContainer final : public MCSection {
0024   friend class MCContext;
0025 
0026   MCSectionDXContainer(StringRef Name, SectionKind K, MCSymbol *Begin)
0027       : MCSection(SV_DXContainer, Name, K.isText(), /*IsVirtual=*/false,
0028                   Begin) {}
0029 
0030 public:
0031   void printSwitchToSection(const MCAsmInfo &, const Triple &, raw_ostream &,
0032                             uint32_t) const override;
0033   bool useCodeAlign() const override { return false; }
0034 };
0035 
0036 } // end namespace llvm
0037 
0038 #endif // LLVM_MC_MCSECTIONDXCONTAINER_H