1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

[MCJIT] Fix the alignment requirements for ARM and AArch64 which were mistakenly

relaxed in the big RuntimeDyldMachO cleanup of r213293.

No test case yet - this was found via inspection and there's no easy way to test
GOT alignment in RuntimeDyldChecker at the moment. I'm working on adding support
for this now, and hope to have a test case for this soon.

llvm-svn: 213331
This commit is contained in:
Lang Hames 2014-07-17 23:11:30 +00:00
parent 0d0ec178f4
commit b9404be62f
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ public:
unsigned getMaxStubSize() override { return 8; }
unsigned getStubAlignment() override { return 1; }
unsigned getStubAlignment() override { return 8; }
relocation_iterator
processRelocationRef(unsigned SectionID, relocation_iterator RelI,

View 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,