[JITLink][COFF][x86_64] Stub SECREL relocation to external symbol.
authorSunho Kim <ksunhokim123@gmail.com>
Thu, 11 Aug 2022 06:12:25 +0000 (15:12 +0900)
committerSunho Kim <ksunhokim123@gmail.com>
Thu, 11 Aug 2022 06:12:25 +0000 (15:12 +0900)
commit9381de09526104fd08d0eef03032d6fbe491b9d1
tree9d292ff60665fe0d65e8ae8105421471c0475051
parent5cf0082ae3f4b281963e999fcac4b875447f2cda
[JITLink][COFF][x86_64] Stub SECREL relocation to external symbol.

Stubs SECREL relocation to external symbol. In order to correctly deal with this, we want to requrest memory manager to keep track of address of first block of sepecific section and keep address to be only increased from that point. We also should give jitlink to get information about global section. The relocation is only used for debug and tls info which we don't support yet anyways, so just stubbing it for now.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D130451
llvm/lib/ExecutionEngine/JITLink/COFF_x86_64.cpp