summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp b/llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
index 2f0eaf206e9..7b4ddc3019a 100644
--- a/llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
+++ b/llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
@@ -157,9 +157,9 @@ private:
// Read the current fixup value.
uint64_t FixupValue = 0;
if (SubRI.r_length == 3)
- FixupValue = *(const ulittle64_t *)FixupContent;
+ FixupValue = *(const little64_t *)FixupContent;
else
- FixupValue = *(const ulittle32_t *)FixupContent;
+ FixupValue = *(const little32_t *)FixupContent;
// Find 'ToAtom' using symbol number or address, depending on whether the
// paired UNSIGNED relocation is extern.
OpenPOWER on IntegriCloud