LLVM 19.0.0git
DWARFRecordSectionSplitter.h
Go to the documentation of this file.
1//===--------- DWARFRecordSectionSplitter.h - JITLink -----------*- 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_EXECUTIONENGINE_JITLINK_DWARFRECORDSECTIONSPLITTER_H
10#define LLVM_EXECUTIONENGINE_JITLINK_DWARFRECORDSECTIONSPLITTER_H
11
13
14namespace llvm {
15namespace jitlink {
16
17/// A LinkGraph pass that splits blocks in a section that follows the DWARF
18/// Record format into sub-blocks where each header gets its own block.
19/// When splitting EHFrames, DWARFRecordSectionSplitter should not be run
20/// without EHFrameEdgeFixer, which is responsible for adding FDE-to-CIE edges.
22public:
25
26private:
27 Error processBlock(LinkGraph &G, Block &B, LinkGraph::SplitBlockCache &Cache);
28
30};
31
32} // namespace jitlink
33} // namespace llvm
34
35#endif // LLVM_EXECUTIONENGINE_JITLINK_DWARFRECORDSECTIONSPLITTER_H
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
#define G(x, y, z)
Definition: MD5.cpp:56
Lightweight error class with error context and mandatory checking.
Definition: Error.h:160
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:50
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18