You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
386f1c114d
This removes the conditional layout of relocation_info bitfields that was introduced in3ccd677bf(svn r358839). The platform relocation_info struct (defined in usr/include/mach-o/reloc.h) does not define the layout of this struct differently on big-endian platforms and we want to keep the LLVM and platform definitions in sync. To fix the bug that3ccd677bfaddressed this patch modifies JITLink to construct its relocation_info structs from the raw relocation words using shift and mask operations.