Simplify the TableManager class and move it into a public header.
authorLang Hames <lhames@gmail.com>
Tue, 19 Oct 2021 01:11:48 +0000 (18:11 -0700)
committerLang Hames <lhames@gmail.com>
Tue, 19 Oct 2021 01:20:33 +0000 (18:20 -0700)
commitbc03a9c066bf9990a1d595cb80ad51ae40fb759a
treeaec2b7e2d7bffebba3fe24b9e4a4165379381bd4
parentfd26ca4e7515e7dd32ae02e777bd21693afc68ff
Simplify the TableManager class and move it into a public header.

Moves visitEdge into the TableManager derivatives, replacing the fixEdgeKind
methods in those classes. The visitEdge method takes on responsibility for
updating the edge target, as well as its kind.
llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h [moved from llvm/lib/ExecutionEngine/JITLink/TableManager.h with 82% similarity]
llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp