aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorPatrick Oppenlander <patrick.oppenlander@gmail.com>2021-02-01 15:01:25 -0800
committerFangrui Song <i@maskray.me>2021-02-01 15:01:25 -0800
commit93345e825a0733f6a67898f6d6d156ff56db80e7 (patch)
treec67f56829fd046dc3f9384d99eee005a92b10141 /llvm/lib/Support/VirtualFileSystem.cpp
parent8e661d3d9c52ea9e5e68cbf699701d9cfa071a8f (diff)
downloadllvm-93345e825a0733f6a67898f6d6d156ff56db80e7.zip
llvm-93345e825a0733f6a67898f6d6d156ff56db80e7.tar.gz
llvm-93345e825a0733f6a67898f6d6d156ff56db80e7.tar.bz2
[llvm-objcopy] -O binary: consider SHT_NOBITS sections to be empty
This is consistent with BFD objcopy. Previously llvm objcopy would allocate space for SHT_NOBITS sections often resulting in enormous binary files. New test case (binary-paddr.test %t6). Reviewed By: jhenderson, MaskRay Differential Revision: https://reviews.llvm.org/D95569
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions