LLVM: lib/ExecutionEngine/JITLink/XCOFFLinkGraphBuilder.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef LIB_EXECUTIONENGINE_JITLINK_XCOFFLINKGRAPHBUILDER_H
14#define LIB_EXECUTIONENGINE_JITLINK_XCOFFLINKGRAPHBUILDER_H
15
21#include
22
23namespace llvm {
25
27public:
30
31public:
33 std::shared_ptrorc::SymbolStringPool SSP, Triple TT,
38
39private:
40 Error processSections();
41 Error processCsectsAndSymbols();
42 Error processRelocations();
43
44private:
46 std::unique_ptr G;
47
49
53 };
54
58};
59
60}
61}
62
63#endif
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
SectionEntry - represents a section emitted into memory by the dynamic linker.
Manages the enabling and disabling of subtarget specific features.
Triple - Helper class for working with autoconf configuration names.
const char *(*)(Edge::Kind) GetEdgeKindNameFunction
Represents an object file section.
const object::XCOFFObjectFile & getObject() const
Definition XCOFFLinkGraphBuilder.h:37
Expected< std::unique_ptr< LinkGraph > > buildGraph()
XCOFFLinkGraphBuilder(const object::XCOFFObjectFile &Obj, std::shared_ptr< orc::SymbolStringPool > SSP, Triple TT, SubtargetFeatures Features, LinkGraph::GetEdgeKindNameFunction GetEdgeKindName)
virtual ~XCOFFLinkGraphBuilder()=default
LinkGraph & getGraph() const
Definition XCOFFLinkGraphBuilder.h:36
This is a value type class that represents a single section in the list of sections in the object fil...
This is an optimization pass for GlobalISel generic memory operations.