diff options
| author | Nick Desaulniers <ndesaulniers@google.com> | 2018-12-05 17:46:24 +0000 |
|---|---|---|
| committer | Nick Desaulniers <ndesaulniers@google.com> | 2018-12-05 17:46:24 +0000 |
| commit | c9e38bade5d63243a7df8f86dd42bac4350e4d73 (patch) | |
| tree | 6fc2e69931239ffc938f4321edbeb391847f223f /clang/lib/CodeGen/CGCall.cpp | |
| parent | f7357c335f676e80b1bae2024f37a41b023078a0 (diff) | |
| download | bcm5719-llvm-c9e38bade5d63243a7df8f86dd42bac4350e4d73.tar.gz bcm5719-llvm-c9e38bade5d63243a7df8f86dd42bac4350e4d73.zip | |
[gold-plugin] allow function/data sections to be toggleable
Summary:
r336838 allowed these to be toggleable.
r336858 reverted r336838.
r336943 made the generation of these sections conditional on LDPO_REL.
This commit brings back the toggle-ability. You can specify:
-plugin-opt=-function-sections
-plugin-opt=-data-sections
For your linker flags to disable the changes made in r336943.
Without toggling r336943 off, arm64 linux kernels linked with gold-plugin
see significant boot time regressions, but with r336943 outright reverted
x86_64 linux kernels linked with gold-plugin fail to boot.
Reviewers: pcc, void
Reviewed By: pcc
Subscribers: javed.absar, kristof.beyls, llvm-commits, srhines
Differential Revision: https://reviews.llvm.org/D55291
llvm-svn: 348389
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
0 files changed, 0 insertions, 0 deletions

