LLVM 22.0.0git
MCSFrame.h
Go to the documentation of this file.
1//===- MCSFrame.h - Machine Code SFrame support ---------------------------===//
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 contains the declaration of MCSFrameEmitter to support emitting
10// sframe unwinding info from .cfi_* directives. It relies on FDEs and CIEs
11// created for Dwarf frame info, but emits that info in a different format.
12//
13// See https://sourceware.org/binutils/docs-2.41/sframe-spec.html
14//===----------------------------------------------------------------------===//
15
16#ifndef LLVM_MC_MCSFRAME_H
17#define LLVM_MC_MCSFRAME_H
18
19namespace llvm {
20
21class MCObjectStreamer;
22
24public:
25 // Emit the sframe section.
26 //
27 // \param Streamer - Emit into this stream.
28 static void emit(MCObjectStreamer &Streamer);
29};
30
31} // end namespace llvm
32#endif // LLVM_MC_MCSFRAME_H
Streaming object file generation interface.
static void emit(MCObjectStreamer &Streamer)
Definition: MCSFrame.cpp:147
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18