diff options
author | Lang Hames <lhames@gmail.com> | 2016-08-10 22:15:09 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2016-08-10 22:15:09 +0000 |
commit | 8c2406b1fc10051d9c8d00cbb84d394b66e7d52c (patch) | |
tree | c75e439ff3d951e4e2ccd65283bbf2438b34be7e /lldb/unittests/ScriptInterpreter/Python | |
parent | 2ff5935a955f611a8288d76a8e3ec771fc7da51c (diff) | |
download | llvm-8c2406b1fc10051d9c8d00cbb84d394b66e7d52c.zip llvm-8c2406b1fc10051d9c8d00cbb84d394b66e7d52c.tar.gz llvm-8c2406b1fc10051d9c8d00cbb84d394b66e7d52c.tar.bz2 |
[lld][MachO] Fix LC_SEGEMENT[_64] filesize computation in -r mode.
Using vmsize to populate this file works when outputing MachO images, but fails
when outputting relocatable objects. This patch fixes the computation to use
file offsets, which works for both output types.
Fixes <rdar://problem/27727666>
llvm-svn: 278297
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions