summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/main.c
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-01-10 18:51:50 +0000
committerLang Hames <lhames@gmail.com>2016-01-10 18:51:50 +0000
commitb2b7a3c1796527865285279a54756c3fc646ae41 (patch)
tree49368ca5c7f0495f61956fcc1aa82424538a78d9 /lldb/packages/Python/lldbsuite/test/python_api/section/main.c
parent875b122dfd85fe25d5b7ea92695275a51ce3b420 (diff)
downloadbcm5719-llvm-b2b7a3c1796527865285279a54756c3fc646ae41.tar.gz
bcm5719-llvm-b2b7a3c1796527865285279a54756c3fc646ae41.zip
[RuntimeDyld] Add alignment arguments to the reserveAllocationSpace method of
RuntimeDyld::MemoryManager. The RuntimeDyld::MemoryManager::reserveAllocationSpace method is called when object files are loaded, and gives clients a chance to pre-allocate memory for all segments. Previously only the size of each segment (code, ro-data, rw-data) was supplied but not the alignment. This hasn't caused any problems so far, as most clients allocate via the MemoryBlock interface which returns page-aligned blocks. Adding alignment arguments enables finer grained allocation while still satisfying alignment restrictions. llvm-svn: 257294
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud