Commit 1f109d9c authored by Hans Wennborg's avatar Hans Wennborg Committed by Commit Bot

Roll clang 328716:329921.

Bug: 828582
Change-Id: I85864722c577268d9c95a0d9c37cf7197b04e5d3
Reviewed-on: https://chromium-review.googlesource.com/1012028Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550608}
parent 8cb55171
......@@ -464,15 +464,21 @@ config("compiler") {
cflags += [ "-fcolor-diagnostics" ]
}
# TODO(hans): Remove this once Clang generates better optimized debug info by
# default. https://crbug.com/765793
if (is_clang && !is_nacl && current_toolchain == host_toolchain &&
target_os != "chromeos") {
cflags += [
# TODO(hans): Remove this once Clang generates better optimized debug info
# by default. https://crbug.com/765793
"-Xclang",
"-mllvm",
"-Xclang",
"-instcombine-lower-dbg-declare=0",
# TODO(rnk): Remove this once it's the default. https://crbug.com/793819
"-Xclang",
"-mllvm",
"-Xclang",
"-fast-isel-sink-local-values=1",
]
}
......@@ -1391,13 +1397,10 @@ config("default_warnings") {
# Ignore warnings about MSVC optimization pragmas.
# TODO(thakis): Only for no_chromium_code? http://crbug.com/505314
"-Wno-ignored-pragma-optimize",
# TODO(thakis): Enable, https://crbug.com/832211
"-Wno-return-std-move",
]
if (llvm_force_head_revision) {
cflags += [
# TODO(thakis): Enable, https://crbug.com/832211
"-Wno-return-std-move",
]
}
} else if (use_xcode_clang) {
cflags += [
# TODO(thakis): https://crbug.com/604888
......
......@@ -27,7 +27,7 @@ import zipfile
# Do NOT CHANGE this if you don't know what you're doing -- see
# https://chromium.googlesource.com/chromium/src/+/master/docs/updating_clang.md
# Reverting problematic clang rolls is safe, though.
CLANG_REVISION = '328716'
CLANG_REVISION = '329921'
use_head_revision = bool(os.environ.get('LLVM_FORCE_HEAD_REVISION', '0')
in ('1', 'YES'))
......@@ -35,7 +35,7 @@ if use_head_revision:
CLANG_REVISION = 'HEAD'
# This is incremented when pushing a new build of Clang at the same revision.
CLANG_SUB_REVISION=2
CLANG_SUB_REVISION=1
PACKAGE_VERSION = "%s-%s" % (CLANG_REVISION, CLANG_SUB_REVISION)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment