diff options
author | Andrew Ng <anng.sw@gmail.com> | 2019-04-23 12:38:52 +0000 |
---|---|---|
committer | Andrew Ng <anng.sw@gmail.com> | 2019-04-23 12:38:52 +0000 |
commit | ccba42c7eb3cdfe7824cd4b473a9688e5738fa3a (patch) | |
tree | bbcf5c9f1cda372d1845d8004e336997c2a0f2a3 /llvm/lib/Transforms/IPO/Inliner.cpp | |
parent | 2769d58628f948b55891a5b3c1073080415f6c17 (diff) | |
download | bcm5719-llvm-ccba42c7eb3cdfe7824cd4b473a9688e5738fa3a.tar.gz bcm5719-llvm-ccba42c7eb3cdfe7824cd4b473a9688e5738fa3a.zip |
[ELF] Change default output section type to SHT_PROGBITS
This fixes an issue where a symbol only section at the start of a
PT_LOAD segment, causes incorrect alignment of the file offset for the
start of the segment which results in the output of an invalid ELF.
SHT_PROGBITS was the default output section type in the past.
Differential Revision: https://reviews.llvm.org/D60131
llvm-svn: 358981
Diffstat (limited to 'llvm/lib/Transforms/IPO/Inliner.cpp')
0 files changed, 0 insertions, 0 deletions