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 <af...@apple.com> > Cc: Liming Gao <liming....@intel.com> > Cc: Zhiguang Liu <zhiguang....@intel.com> > --- > BaseTools/Conf/tools_def.template | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#60210): https://edk2.groups.io/g/devel/message/60210 Mute This Topic: https://groups.io/mt/74449794/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-