aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorVladislav Khmelevsky <Vladislav.Khmelevskyi@huawei.com>2022-02-16 18:13:44 +0300
committerVladislav Khmelevsky <och95@yandex.ru>2022-02-16 18:40:54 +0300
commit729d29e167a553ee1190c310b6a510db8d8731ac (patch)
tree4f9c941e19985927d7c238fe800b4095a6031a26 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parentc9032f1a69ed2a5368a5ef783ff4a5c641e86565 (diff)
downloadllvm-729d29e167a553ee1190c310b6a510db8d8731ac.zip
llvm-729d29e167a553ee1190c310b6a510db8d8731ac.tar.gz
llvm-729d29e167a553ee1190c310b6a510db8d8731ac.tar.bz2
[BOLT] Update dynamic relocations from section relocations
This patch changes patchELFAllocatableRelaSections from going through old relocations sections and update the relocation offsets to emitting the relocations stored in binary sections. This is needed in case we would like to remove and add dynamic relocations during BOLT work and it is used by golang support pass. Note: Currently we emit relocations in the old sections, so the total number of them should be equal or less of old number. Testing: No special tests are neeeded, since this patch does not fix anything or add new functionality (it only prepares to add). Every PIC-compiled test binary will use this code and thus become a test. But just in case the aarch64 dynamic relocations tests were added. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D117612
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions