[BOLT][AArch64] Handle references to the middle of Constant Islands
authorDenis Revunov <revunov.denis@huawei-partners.com>
Thu, 25 Aug 2022 08:27:42 +0000 (04:27 -0400)
committerDenis Revunov <revunov.denis@huawei-partners.com>
Thu, 25 Aug 2022 08:32:35 +0000 (04:32 -0400)
commit6040415ef9714af7ddaff846ad331c7eb2188f3d
treeefbcd25a458ba6de9920b0490e8e2597ac5832a0
parentebad19fedc40b9da51cf38cdb4df6e9e7456429d
[BOLT][AArch64] Handle references to the middle of Constant Islands

Fix BinaryContext::handleAddressRef to properly detect references to
other function's Constant islands.

Revieved By: rafauler, yota9

Differential Revision: https://reviews.llvm.org/D132376
bolt/lib/Core/BinaryContext.cpp
bolt/test/AArch64/ext-island-ref.s [new file with mode: 0644]