From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: devel@edk2.groups.io, afish@apple.com
Cc: Liming Gao <liming.gao@intel.com>, Zhiguang Liu <zhiguang.liu@intel.com>
Subject: Re: [edk2-devel] [PATCH 1/1] BaseTools: Turn on Link Time Optimization (LTO) for XCOODE
Date: Mon, 25 May 2020 14:55:44 +0200 [thread overview]
Message-ID: <cd2e11c4-c758-7124-e12a-53adccbfb139@redhat.com> (raw)
In-Reply-To: <abaaa1c09f5feefbd53d230791014d12c35d62d4.1590373960.git.afish@apple.com>
On 5/25/20 4:38 AM, Andrew Fish via groups.io wrote:
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1202
>
> Turn on LTO for XCODE.
Typo "XCOODE" in subject. If you want to keep it, I wont object :)
>
> We need to pass -object_path_lto <file> to the linker to keep source
> level debugging working.
>
> OVMF X64 before:
> SECFV [14%Full] 212992 total, 30224 used, 182768 free
> PEIFV [29%Full] 917504 total, 273256 used, 644248 free
> DXEFV [40%Full] 12582912 total, 5096904 used, 7486008 free
> FVMAIN_COMPACT [37%Full] 3440640 total, 1290240 used, 2150400 free
>
> After:
> SECFV [10%Full] 212992 total, 23064 used, 189928 free
> PEIFV [20%Full] 917504 total, 192328 used, 725176 free
> DXEFV [33%Full] 12582912 total, 4193632 used, 8389280 free
> FVMAIN_COMPACT [33%Full] 3440640 total, 1165352 used, 2275288 free
>
> Signed-off-by: Andrew Fish <afish@apple.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> ---
> BaseTools/Conf/tools_def.template | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
next prev parent reply other threads:[~2020-05-25 12:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-25 2:38 [PATCH 0/1] BaseTools: Turn on LTO for XCOODE Andrew Fish
2020-05-25 2:38 ` [PATCH 1/1] BaseTools: Turn on Link Time Optimization (LTO) " Andrew Fish
2020-05-25 12:55 ` Philippe Mathieu-Daudé [this message]
2020-05-27 2:02 ` [edk2-devel] " Bob Feng
2020-06-08 1:30 ` Liming Gao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd2e11c4-c758-7124-e12a-53adccbfb139@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox