LLVM 22.0.0git
MCAsmInfoELF.h
Go to the documentation of this file.
1//===- llvm/MC/MCAsmInfoELF.h - ELF Asm info --------------------*- 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_MCASMINFOELF_H
10#define LLVM_MC_MCASMINFOELF_H
11
12#include "llvm/MC/MCAsmInfo.h"
13
14namespace llvm {
15
16class MCAsmInfoELF : public MCAsmInfo {
17 virtual void anchor();
18 MCSection *getNonexecutableStackSection(MCContext &Ctx) const override;
19 void printSwitchToSection(const MCSection &, uint32_t, const Triple &,
20 raw_ostream &) const final;
21 bool useCodeAlign(const MCSection &Sec) const final;
22
23protected:
25};
26
27} // end namespace llvm
28
29#endif // LLVM_MC_MCASMINFOELF_H
Context object for machine code objects.
Definition MCContext.h:83
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition MCSection.h:521
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.