This patch uses a unified interface for lower GlobalAddress ConstantPool BlockAddress and JumpTable. This patch allows lowering addresses by using PC-relative addressing for DSO-local symbols, and accessing the address through the global offset table for DSO-preemptable symbols. Remove hardcoded `MininumJumpTableEntries` for test lower JumpTable. Also updated some test cases using ConstantPool, due to the addition of relocation information. Differential Revision: https://reviews.llvm.org/D134431
2.3 KiB
2.3 KiB