summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86CallFrameOptimization.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-08-02 16:35:00 +0000
committerPetr Hosek <phosek@chromium.org>2017-08-02 16:35:00 +0000
commitedd6c3587c736f2c76df77ace5a98d0c21e7e534 (patch)
tree9209b16b07e646077f142cfada6b0fda0c26cd81 /llvm/lib/Target/X86/X86CallFrameOptimization.cpp
parenta70e2649ab868d532c012581435230b3ed85fb41 (diff)
downloadbcm5719-llvm-edd6c3587c736f2c76df77ace5a98d0c21e7e534.tar.gz
bcm5719-llvm-edd6c3587c736f2c76df77ace5a98d0c21e7e534.zip
[ELF] When the code segment is the last, align it to the page boundary
When the data segment is the last segment, it is correct to leave it unaligned. However, when the code segment is the last segment, it should be aligned to the page boundary to avoid loading the non-segment parts of the ELF file at the end of the file. Differential Revision: https://reviews.llvm.org/D33630 llvm-svn: 309829
Diffstat (limited to 'llvm/lib/Target/X86/X86CallFrameOptimization.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud