diff options
| author | Quinn Pham <Quinn.Pham@ibm.com> | 2022-07-20 09:14:38 -0500 |
|---|---|---|
| committer | Quinn Pham <quinn.pham@ibm.com> | 2022-07-27 09:39:39 -0500 |
| commit | b6cc5ddc94780074e2a027e5c217a254a1b61b05 (patch) | |
| tree | 8f98481a608743965f9db77e41c3eb0ed6dfe230 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h | |
| parent | 1f5144cdbbab3b86795903a10180c85d7e586e93 (diff) | |
| download | llvm-b6cc5ddc94780074e2a027e5c217a254a1b61b05.zip llvm-b6cc5ddc94780074e2a027e5c217a254a1b61b05.tar.gz llvm-b6cc5ddc94780074e2a027e5c217a254a1b61b05.tar.bz2 | |
[libLTO] Set data-sections by default in libLTO.
This patch changes legacy LTO to set data-sections by default. The user can
explicitly unset data-sections. The reason for this patch is to match the
behaviour of lld and gold plugin. Both lld and gold plugin have data-sections on
by default.
This patch also fixes the forwarding of the clang options -fno-data-sections and
-fno-function-sections to libLTO. Now, when -fno-data/function-sections are
specified in clang, -data/function-sections=0 will be passed to libLTO to
explicitly unset data/function-sections.
Reviewed By: w2yehia, MaskRay
Differential Revision: https://reviews.llvm.org/D129401
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
