RuntimeDyld alignment adjustment from MachO file.
authorJim Grosbach <grosbach@apple.com>
Sat, 21 Jan 2012 00:21:53 +0000 (00:21 +0000)
committerJim Grosbach <grosbach@apple.com>
Sat, 21 Jan 2012 00:21:53 +0000 (00:21 +0000)
commit93391348dc00b4078463515149eeb214796f553d
treeec968ae8bd8c5a327e8451dbe838c2a44b3ba1b3
parent12a8863828879168ffd634df09f3aa91b0b256ee
RuntimeDyld alignment adjustment from MachO file.

The MachO file stores section alignment as log2(alignment-in-bytes). The
allocation routines want the raw alignment-in-bytes value, so adjust
for that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148604 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp