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

Side by Side Diff: build/standalone.gypi

Issue 1414763004: [test] Make cfi more verbose. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 }], 485 }],
486 ], 486 ],
487 }], 487 }],
488 ], 488 ],
489 }, 489 },
490 'conditions': [ 490 'conditions': [
491 ['os_posix==1 and OS!="mac"', { 491 ['os_posix==1 and OS!="mac"', {
492 'target_defaults': { 492 'target_defaults': {
493 'conditions': [ 493 'conditions': [
494 # Common options for AddressSanitizer, LeakSanitizer, 494 # Common options for AddressSanitizer, LeakSanitizer,
495 # ThreadSanitizer and MemorySanitizer. 495 # ThreadSanitizer, MemorySanitizer and CFI builds.
496 ['asan==1 or lsan==1 or tsan==1 or msan==1', { 496 ['asan==1 or lsan==1 or tsan==1 or msan==1 or cfi_vptr==1', {
497 'target_conditions': [ 497 'target_conditions': [
498 ['_toolset=="target"', { 498 ['_toolset=="target"', {
499 'cflags': [ 499 'cflags': [
500 '-fno-omit-frame-pointer', 500 '-fno-omit-frame-pointer',
501 '-gline-tables-only', 501 '-gline-tables-only',
502 ], 502 ],
503 'cflags!': [ 503 'cflags!': [
504 '-fomit-frame-pointer', 504 '-fomit-frame-pointer',
505 ], 505 ],
506 }], 506 }],
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 }], 1268 }],
1269 ], 1269 ],
1270 }, 1270 },
1271 }], 1271 }],
1272 ['cfi_diag==1', { 1272 ['cfi_diag==1', {
1273 'target_defaults': { 1273 'target_defaults': {
1274 'target_conditions': [ 1274 'target_conditions': [
1275 ['_toolset=="target"', { 1275 ['_toolset=="target"', {
1276 'cflags': [ 1276 'cflags': [
1277 '-fno-sanitize-trap=cfi', 1277 '-fno-sanitize-trap=cfi',
1278 '-fsanitize-recover=cfi', 1278 '-fno-sanitize-recover=cfi',
1279 ], 1279 ],
1280 'cflags_cc!': [ 1280 'cflags_cc!': [
1281 '-fno-rtti', 1281 '-fno-rtti',
1282 ], 1282 ],
1283 'cflags!': [ 1283 'cflags!': [
1284 '-fno-rtti', 1284 '-fno-rtti',
1285 ], 1285 ],
1286 'ldflags': [ 1286 'ldflags': [
1287 '-fno-sanitize-trap=cfi', 1287 '-fno-sanitize-trap=cfi',
1288 '-fsanitize-recover=cfi', 1288 '-fno-sanitize-recover=cfi',
1289 ], 1289 ],
1290 }], 1290 }],
1291 ], 1291 ],
1292 }, 1292 },
1293 }], 1293 }],
1294 ['cfi_vptr==1', { 1294 ['cfi_vptr==1', {
1295 'target_defaults': { 1295 'target_defaults': {
1296 'target_conditions': [ 1296 'target_conditions': [
1297 ['_toolset=="target"', { 1297 ['_toolset=="target"', {
1298 'cflags': [ 1298 'cflags': [
1299 '-fsanitize=cfi-vcall', 1299 '-fsanitize=cfi-vcall',
1300 '-fsanitize=cfi-derived-cast', 1300 '-fsanitize=cfi-derived-cast',
1301 '-fsanitize=cfi-unrelated-cast', 1301 '-fsanitize=cfi-unrelated-cast',
1302 '-fsanitize-blacklist=<(cfi_blacklist)', 1302 '-fsanitize-blacklist=<(cfi_blacklist)',
1303 ], 1303 ],
1304 'ldflags': [ 1304 'ldflags': [
1305 '-fsanitize=cfi-vcall', 1305 '-fsanitize=cfi-vcall',
1306 '-fsanitize=cfi-derived-cast', 1306 '-fsanitize=cfi-derived-cast',
1307 '-fsanitize=cfi-unrelated-cast', 1307 '-fsanitize=cfi-unrelated-cast',
1308 ], 1308 ],
1309 }], 1309 }],
1310 ], 1310 ],
1311 }, 1311 },
1312 }], 1312 }],
1313 ], 1313 ],
1314 } 1314 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698