Lines Matching defs:LinkGraph
39 3. Open linker data structures (``LinkGraph``) and pass system.
47 JITLink to construct a ``LinkGraph`` (see :ref:`constructing_linkgraphs`) and
52 modify ``LinkGraph`` instances at link time, and react to important JIT events
61 * ``modifyPassConfig`` is called each time a LinkGraph is about to be linked. It
67 jitlink::LinkGraph &G,
129 jitlink::LinkGraph &G,
131 Config.PostPrunePasses.push_back([this](jitlink::LinkGraph &G) {
147 Error printAllSymbols(LinkGraph &G) {
179 LinkGraph
182 JITLink maps all relocatable object formats to a generic ``LinkGraph`` type
183 that is designed to make linking fast and easy (``LinkGraph`` instances can
195 At a high level, the ``LinkGraph`` type represents these concepts as a decorated
212 operations on ``LinkGraph`` instances involve inspecting or mutating block
264 visible within the current ``LinkGraph``.
323 For the graph-theorists: The ``LinkGraph`` is bipartite, with one set of
330 The ``LinkGraph`` itself provides operations for constructing, removing, and
381 symbol must now be defined outside this ``LinkGraph``.
437 ``LinkGraph`` nodes still have their original vmaddrs. A mark-live pass
445 #. Prune (dead-strip) the ``LinkGraph``.
559 JITLink passes are ``std::function<Error(LinkGraph&)>`` instances. They are free
560 to inspect and modify the given ``LinkGraph`` subject to the constraints of
570 In combination with the open ``LinkGraph`` API, JITLink passes enable the
583 Error relaxGOTEdges(LinkGraph &G) {
608 Error registerEHFrameSection(LinkGraph &G) {
629 [&](LinkGraph &G) -> Error {
669 virtual void allocate(const JITLinkDylib *JD, LinkGraph &G,
677 simulated dylib, a reference to the ``LinkGraph`` that must be allocated for,
682 dylibs) [2]_. The ``LinkGraph`` describes the object file that we need to
795 Clients usually access and manipulate ``LinkGraph`` instances that were created
798 #. By directly constructing and populating a ``LinkGraph`` instance.
801 ``LinkGraph`` from an in-memory buffer containing an object file. This is how
1047 endian-specific types when reading/writing content in the ``LinkGraph``.