[JITLink] Add two useful Section operations: find by name, get address range.
authorLang Hames <lhames@gmail.com>
Sat, 4 May 2019 00:23:09 +0000 (00:23 +0000)
committerLang Hames <lhames@gmail.com>
Sat, 4 May 2019 00:23:09 +0000 (00:23 +0000)
commitce8255f3e24a3f2272a3a39d17eab7eeb357a14d
tree3785942199b471684fc0df58c017681bef4ba5a8
parent5fe2ddbdf47dddc90233e3240a3aa6bcdea8721f
[JITLink] Add two useful Section operations: find by name, get address range.

These operations were already used in eh-frame registration, and are likely to
be used in other runtime registrations, so this commit moves them into a header
where they can be re-used.

llvm-svn: 359950
llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp