зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1481719 - Disable profile-instr-out-of-date warnings explicitly rather than allowing all warnings where they appear. r=dmajor
This commit is contained in:
Родитель
fe9dd50d7f
Коммит
6d197a0707
|
@ -98,6 +98,3 @@ if CONFIG['CC_TYPE'] == 'clang-cl':
|
|||
'-Wno-missing-braces',
|
||||
'-Wno-unused-const-variable',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_PGO'] and CONFIG['CC_TYPE'] == 'clang-cl':
|
||||
AllowCompilerWarnings() # workaround for bug 1090497
|
||||
|
|
|
@ -44,6 +44,3 @@ if CONFIG['CC_TYPE'] == 'clang-cl':
|
|||
'-Wno-missing-braces',
|
||||
'-Wno-unused-const-variable',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_PGO'] and CONFIG['CC_TYPE'] == 'clang-cl':
|
||||
AllowCompilerWarnings() # workaround for bug 1090497
|
||||
|
|
|
@ -1267,6 +1267,7 @@ def pgo_flags(compiler, build_env, target):
|
|||
gen_cflags=['-fprofile-instr-generate'],
|
||||
gen_ldflags=['clang_rt.profile-x86_64.lib'],
|
||||
use_cflags=['-fprofile-instr-use=%s' % profdata,
|
||||
'-Wno-error=profile-instr-out-of-date',
|
||||
'-Wno-error=profile-instr-unprofiled'],
|
||||
use_ldflags=[],
|
||||
)
|
||||
|
|
|
@ -26,7 +26,6 @@ OS_LIBS += [
|
|||
'comctl32',
|
||||
]
|
||||
|
||||
if ((CONFIG['MOZ_PGO'] or
|
||||
(not CONFIG['HAVE_64BIT_BUILD'] and CONFIG['ENABLE_CLANG_PLUGIN']))
|
||||
if (not CONFIG['HAVE_64BIT_BUILD'] and CONFIG['ENABLE_CLANG_PLUGIN']
|
||||
and CONFIG['CC_TYPE'] == 'clang-cl'):
|
||||
AllowCompilerWarnings() # workaround for bug 1090497
|
||||
|
|
|
@ -30,6 +30,3 @@ BROWSER_CHROME_MANIFESTS += [ 'tests/browser.ini' ]
|
|||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
||||
if CONFIG['MOZ_PGO'] and CONFIG['CC_TYPE'] == 'clang-cl':
|
||||
AllowCompilerWarnings() # workaround for bug 1090497
|
||||
|
|
|
@ -23,6 +23,3 @@ if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT':
|
|||
'/security/sandbox/chromium',
|
||||
'/security/sandbox/chromium-shim',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_PGO'] and CONFIG['CC_TYPE'] == 'clang-cl':
|
||||
AllowCompilerWarnings() # workaround for bug 1090497
|
||||
|
|
|
@ -53,6 +53,3 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
|||
CFLAGS += CONFIG['TK_CFLAGS']
|
||||
CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||
OS_LIBS += CONFIG['TK_LIBS']
|
||||
|
||||
if CONFIG['MOZ_PGO'] and CONFIG['CC_TYPE'] == 'clang-cl':
|
||||
AllowCompilerWarnings() # workaround for bug 1090497
|
||||
|
|
|
@ -13,6 +13,3 @@ UNIFIED_SOURCES = [
|
|||
|
||||
if CONFIG['COMPILE_ENVIRONMENT']:
|
||||
TEST_HARNESS_FILES.gtest += ['!InjectorDLL.dll']
|
||||
|
||||
if CONFIG['MOZ_PGO'] and CONFIG['CC_TYPE'] == 'clang-cl':
|
||||
AllowCompilerWarnings() # workaround for bug 1090497
|
||||
|
|
|
@ -59,6 +59,3 @@ if CONFIG['OS_TARGET'] != 'WINNT':
|
|||
DisableStlWrapping()
|
||||
|
||||
include('/toolkit/crashreporter/crashreporter.mozbuild')
|
||||
|
||||
if CONFIG['MOZ_PGO'] and CONFIG['CC_TYPE'] == 'clang-cl':
|
||||
AllowCompilerWarnings() # workaround for bug 1090497
|
||||
|
|
Загрузка…
Ссылка в новой задаче