Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Side by Side Diff: build/common.gypi

Issue 715633004: Use the experimental PBQP register allocator for UBSan builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't compile libmesa -O0 Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/mesa/mesa.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 4196 matching lines...) Expand 10 before | Expand all | Expand 10 after
4207 }], 4207 }],
4208 ], 4208 ],
4209 }], 4209 }],
4210 ['ubsan==1', { 4210 ['ubsan==1', {
4211 'target_conditions': [ 4211 'target_conditions': [
4212 ['_toolset=="target"', { 4212 ['_toolset=="target"', {
4213 'cflags': [ 4213 'cflags': [
4214 '-fsanitize=undefined', 4214 '-fsanitize=undefined',
4215 # -fsanitize=vptr is incompatible with -fno-rtti. 4215 # -fsanitize=vptr is incompatible with -fno-rtti.
4216 '-fno-sanitize=vptr', 4216 '-fno-sanitize=vptr',
4217 # Employ the experimental PBQP register allocator to avoid
4218 # slow compilation on files with too many basic blocks.
4219 # See http://crbug.com/426271.
4220 '-mllvm -regalloc=pbqp',
4221 # Speculatively use coalescing to slightly improve the code
4222 # generated by PBQP regallocator. May increase compile time.
4223 '-mllvm -pbqp-coalescing',
4217 ], 4224 ],
4218 'ldflags': [ 4225 'ldflags': [
4219 '-fsanitize=undefined', 4226 '-fsanitize=undefined',
4220 # -fsanitize=vptr is incompatible with -fno-rtti. 4227 # -fsanitize=vptr is incompatible with -fno-rtti.
4221 '-fno-sanitize=vptr', 4228 '-fno-sanitize=vptr',
4222 ], 4229 ],
4223 }], 4230 }],
4224 ], 4231 ],
4225 }], 4232 }],
4226 ['ubsan_vptr==1', { 4233 ['ubsan_vptr==1', {
(...skipping 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after
5924 # settings in target dicts. SYMROOT is a special case, because many other 5931 # settings in target dicts. SYMROOT is a special case, because many other
5925 # Xcode variables depend on it, including variables such as 5932 # Xcode variables depend on it, including variables such as
5926 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5933 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5927 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5934 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5928 # files to appear (when present) in the UI as actual files and not red 5935 # files to appear (when present) in the UI as actual files and not red
5929 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5936 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5930 # and therefore SYMROOT, needs to be set at the project level. 5937 # and therefore SYMROOT, needs to be set at the project level.
5931 'SYMROOT': '<(DEPTH)/xcodebuild', 5938 'SYMROOT': '<(DEPTH)/xcodebuild',
5932 }, 5939 },
5933 } 5940 }
OLDNEW
« no previous file with comments | « no previous file | third_party/mesa/mesa.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698