Skip to content

Commit a351916

Browse files
zmodemcopybara-github
authored andcommitted
Roll clang+rust llvmorg-20-init-17108-g29ed6000-3 : llvmorg-21-init-853-gba476d0b-1 / ad211ced81509462cdfe4c29ed10f97279a0acae-1 : d4bdd1ed551fed0c951eb47b4be2c79d7a02d181-1
Note: this increments the LLVM major version to 21. Also use -fno-strict-overflow instead of -fwrapv, since the latter no longer covers pointer overflow [1]. https://chromium.googlesource.com/external/github.com/llvm/llvm-project/+log/29ed6000..ba476d0b https://chromium.googlesource.com/external/github.com/rust-lang/rust/+log/ad211ced8150..d4bdd1ed551f Ran: ./tools/clang/scripts/upload_revision.py ba476d0b83dc8a4bbf066dc02a0f73ded27114f0 [1] llvm/llvm-project#122486 Binary-Size: Should be within the limits with new PGO profiles. Bug: 389103111 Change-Id: I1eb3c31628b58c2d71e3690b967ffad5609d673d Disable-Rts: True Cq-Include-Trybots: chromium/try:chromeos-amd64-generic-cfi-thin-lto-rel Cq-Include-Trybots: chromium/try:dawn-win10-x86-deps-rel Cq-Include-Trybots: chromium/try:linux-chromeos-dbg Cq-Include-Trybots: chromium/try:linux_chromium_cfi_rel_ng Cq-Include-Trybots: chromium/try:linux_chromium_chromeos_msan_rel_ng Cq-Include-Trybots: chromium/try:linux_chromium_msan_rel_ng Cq-Include-Trybots: chromium/try:mac11-arm64-rel,mac_chromium_asan_rel_ng Cq-Include-Trybots: chromium/try:ios-catalyst,win-asan,android-official Cq-Include-Trybots: chromium/try:fuchsia-arm64-cast-receiver-rel Cq-Include-Trybots: chromium/try:mac-official,linux-official Cq-Include-Trybots: chromium/try:win-official,win32-official Cq-Include-Trybots: chromium/try:win-arm64-rel Cq-Include-Trybots: chromium/try:linux-swangle-try-x64,win-swangle-try-x86 Cq-Include-Trybots: chromium/try:android-cronet-mainline-clang-arm64-dbg Cq-Include-Trybots: chromium/try:android-cronet-mainline-clang-arm64-rel Cq-Include-Trybots: chromium/try:android-cronet-mainline-clang-riscv64-dbg Cq-Include-Trybots: chromium/try:android-cronet-mainline-clang-riscv64-rel Cq-Include-Trybots: chromium/try:android-cronet-mainline-clang-x86-dbg Cq-Include-Trybots: chromium/try:android-cronet-mainline-clang-x86-rel Cq-Include-Trybots: chromium/try:android-cronet-riscv64-dbg Cq-Include-Trybots: chromium/try:android-cronet-riscv64-rel Cq-Include-Trybots: chrome/try:iphone-device,ipad-device Cq-Include-Trybots: chrome/try:linux-chromeos-chrome Cq-Include-Trybots: chrome/try:win-chrome,win64-chrome,linux-chrome,mac-chrome Cq-Include-Trybots: chrome/try:linux-pgo,mac-pgo,win32-pgo,win64-pgo Cq-Include-Trybots: luci.chromium.try:linux-cast-x64-rel Cq-Include-Trybots: chromium/try:android-rust-arm32-rel Cq-Include-Trybots: chromium/try:android-rust-arm64-dbg Cq-Include-Trybots: chromium/try:android-rust-arm64-rel Cq-Include-Trybots: chromium/try:linux-rust-x64-dbg Cq-Include-Trybots: chromium/try:linux-rust-x64-rel Cq-Include-Trybots: chromium/try:mac-rust-x64-dbg Cq-Include-Trybots: chromium/try:win-rust-x64-dbg Cq-Include-Trybots: chromium/try:win-rust-x64-rel Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6233983 Reviewed-by: Nico Weber <[email protected]> Auto-Submit: Hans Wennborg <[email protected]> Cr-Commit-Position: refs/heads/main@{#1417174} NOKEYCHECK=True GitOrigin-RevId: 7c222671e7164bd6b726ef1d8d6e73403ad72559
1 parent 0cecdf8 commit a351916

File tree

3 files changed

+214
-215
lines changed

3 files changed

+214
-215
lines changed

config/compiler/BUILD.gn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,9 @@ config("compiler") {
333333
# When UBSan is enabled, we want to continue flagging overflows as a bug.
334334
if (!is_ubsan && (!is_win || is_clang)) {
335335
if (is_win) {
336-
cflags += [ "/clang:-fwrapv" ]
336+
cflags += [ "/clang:-fno-strict-overflow" ]
337337
} else {
338-
cflags += [ "-fwrapv" ]
338+
cflags += [ "-fno-strict-overflow" ]
339339
}
340340
}
341341

0 commit comments

Comments
 (0)