[MCJIT] Fix the alignment requirements for ARM and AArch64 which were mistakenly
[oota-llvm.git] / lib / ExecutionEngine / RuntimeDyld / Targets / RuntimeDyldMachOARM.h
index 7e14992996abe3699167d64ed33dbefeb5e6954b..1de9942198249a695bcb623bff21bbab03b8b183 100644 (file)
@@ -23,7 +23,7 @@ public:
 
   unsigned getMaxStubSize() override { return 8; }
 
-  unsigned getStubAlignment() override { return 1; }
+  unsigned getStubAlignment() override { return 4; }
 
   relocation_iterator
   processRelocationRef(unsigned SectionID, relocation_iterator RelI,