http://sourceware.org/bugzilla/show_bug.cgi?id=13230
--- Comment #1 from Jan Hubicka 2011-09-28
00:01:51 UTC ---
Sorry, the testcas is bogus.
I am however tracking down reason why when building libxul the resolution file
of slim LTO looks like:
1278 96914ca3 RESOLVED_IR
_ZN21nsDependentCSubstring6RebindERK19nsACString_internaljj
1290 96914ca3 RESOLVED_IR _ZN19nsACString_internal6AssignEPKcj
1299 96914ca3 RESOLVED_DYN moz_free
1305 96914ca3 RESOLVED_IR _Z14CallGetServiceRK4nsIDS1_PPv
1314 96914ca3 RESOLVED_IR
_ZN13nsCOMPtr_base18assign_from_helperERK15nsCOMPtr_helperRK4nsID
1324 96914ca3 RESOLVED_IR _ZNK19nsACString_internal8FindCharEcj
1337 96914ca3 RESOLVED_DYN moz_xmalloc
1355 96914ca3 PREVAILING_DEF_IRONLY_EXP
_ZN14nsIRDFResource11COMTypeInfoIiE4kIIDE
1395 96914ca3 PREVAILING_DEF_IRONLY_EXP _ZN13nsRDFResource11gRDFServiceE
1375 96914ca3 PREVAILING_DEF_IRONLY_EXP _ZN11nsISupports11COMTypeInfoIiE4kIIDE
344 96914ca3 PREVAILING_DEF_IRONLY_EXP _ZTV13nsRDFResource
1425 96914ca3 PREVAILING_DEF_IRONLY_EXP _ZN13nsRDFResource17gRDFServiceRefCntE
1383 96914ca3 PREVAILING_DEF_IRONLY_EXP
_ZN13nsIRDFService11COMTypeInfoIiE4kIIDE
1398 96914ca3 PREVAILING_DEF_IRONLY_EXP
_ZN21nsIRDFDelegateFactory11COMTypeInfoIiE4kIIDE
1366 96914ca3 PREVAILING_DEF_IRONLY_EXP _ZN10nsIRDFNode11COMTypeInfoIiE4kIIDE
1415 96914ca3 RESOLVED_IR _ZN12nsCharTraitsIcE12sEmptyBufferE
1039 96914ca3 RESOLVED_IR _ZTV28nsCreateInstanceByContractID
/abuild/jh/build-mozilla-new14/toolkit/library/../xre/nsAppRunner.o 291
353 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo14QueryInterfaceERK4nsIDPPv
842 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZThn16_N12nsXULAppInfo14QueryInterfaceERK4nsIDPPv
760 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZThn8_N12nsXULAppInfo14QueryInterfaceERK4nsIDPPv
371 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZN12nsXULAppInfo6AddRefEv
848 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZThn16_N12nsXULAppInfo6AddRefEv
766 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZThn8_N12nsXULAppInfo6AddRefEv
378 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZN12nsXULAppInfo7ReleaseEv
852 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZThn16_N12nsXULAppInfo7ReleaseEv
770 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZThn8_N12nsXULAppInfo7ReleaseEv
476 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZN12nsXULAppInfo19GetLogConsoleErrorsEPi
861 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZThn16_N12nsXULAppInfo19GetLogConsoleErrorsEPi
488 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZN12nsXULAppInfo19SetLogConsoleErrorsEi
866 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZThn16_N12nsXULAppInfo19SetLogConsoleErrorsEi
468 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZN12nsXULAppInfo13GetInSafeModeEPi
856 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZThn16_N12nsXULAppInfo13GetInSafeModeEPi
725 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo25WriteMinidumpForExceptionEPv
821 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZThn8_N12nsXULAppInfo25WriteMinidumpForExceptionEPv
734 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo33AppendObjCExceptionInfoToAppNotesEPv
826 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZThn8_N12nsXULAppInfo33AppendObjCExceptionInfoToAppNotesEPv
4598 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZN18nsSingletonFactory6AddRefEv
4627 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZN18nsSingletonFactory11LockFactoryEi
4614 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN18nsSingletonFactory14CreateInstanceEP11nsISupportsRK4nsIDPPv
612 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZN12nsXULAppInfo12SetServerURLEP6nsIURL
789 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZThn8_N12nsXULAppInfo12SetServerURLEP6nsIURL
679 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo19AnnotateCrashReportERK19nsACString_internalS2_
804 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZThn8_N12nsXULAppInfo19AnnotateCrashReportERK19nsACString_internalS2_
453 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo18GetPlatformBuildIDER19nsACString_internal
439 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo13GetAppBuildIDER19nsACString_internal
446 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo18GetPlatformVersionER19nsACString_internal
432 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo10GetVersionER19nsACString_internal
425 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo5GetIDER19nsACString_internal
418 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo7GetNameER19nsACString_internal
410 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo9GetVendorER19nsACString_internal
664 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN12nsXULAppInfo15SetMinidumpPathEP12nsILocalFile
799 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZThn8_N12nsXULAppInfo15SetMinidumpPathEP12nsILocalFile
4587 d53ab3c PREVAILING_DEF_IRONLY_EXP
_ZN18nsSingletonFactory14QueryInterfaceERK4nsIDPPv
751 d53ab3c PREVAILING_DEF_IRONLY_EXP _ZN12nsXULAppInfo16SetSubmitReportsEi
While fat LTO is:
1315 c276d10e RESOLVED_IR
_ZN21nsDependentCSubstring6RebindERK19nsACString_internaljj
1327 c276d10e RESOLVED_IR _ZN19nsACString_internal6AssignEPKcj
1336 c276d10e RESOLVED_DYN moz_free
1347 c276d10e RESOLVED_IR _Z14CallGetServiceRK4nsIDS1_PPv
1356 c276d10e RESOLVED_IR
_ZN13nsCOMPtr_base18assign_from_helperERK15nsCOMPtr_helper