Files
clang-p2996/lld/MachO
Vincent Lee 33ab995617 Recommit "[lld-macho] Use DO_BIND_ADD_ADDR_IMM_SCALED for bind opcodes"
Implement pass 3 of bind opcodes from ld64 (which supports both 32-bit and 64-bit).
Pass 3 implementation condenses BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB opcode
to BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED.  This change is already behind an
O2 flag so it shouldn't impact current performance. I verified ld64's output with x86_64 LLD
and they were both emitting the same optimized bind opcodes (although in a slightly different
order). Tested with arm64_32 LLD and compared that with x86 LLD that the order of the bind
opcodes are the same (offset values are different which should be expected).

Reviewed By: int3, #lld-macho, MaskRay

Differential Revision: https://reviews.llvm.org/D106128
2021-07-20 13:45:24 -07:00
..
2021-06-17 10:07:44 -07:00
2021-07-15 12:56:13 -04:00
2021-07-15 12:56:13 -04:00
2021-03-18 10:39:19 -04:00
2021-06-02 11:09:26 -04:00
2020-08-26 19:20:55 -07:00
2021-06-17 10:07:44 -07:00
2021-06-02 11:09:26 -04:00