Skip to content
Commit 386f1c11 authored by Lang Hames's avatar Lang Hames
Browse files

[Object] Remove conditional layout of bitfields in MachO::relocation_info.

This removes the conditional layout of relocation_info bitfields that was
introduced in 3ccd677b (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 that 3ccd677b addressed this patch modifies JITLink to construct
its relocation_info structs from the raw relocation words using shift and mask
operations.
parent 9a709dd2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment