Commit 81121b40 authored by machenbach's avatar machenbach Committed by Commit bot

Port cfi blacklist from chromium.

BUG=chromium:515782
LOG=n

Review URL: https://codereview.chromium.org/1333133003

Cr-Commit-Position: refs/heads/master@{#30734}
parent 7ec3be73
...@@ -95,6 +95,8 @@ ...@@ -95,6 +95,8 @@
'cfi_vptr%': 0, 'cfi_vptr%': 0,
'cfi_diag%': 0, 'cfi_diag%': 0,
'cfi_blacklist%': '<(base_dir)/tools/cfi/blacklist.txt',
# goma settings. # goma settings.
# 1 to use goma. # 1 to use goma.
# If no gomadir is set, it uses the default gomadir. # If no gomadir is set, it uses the default gomadir.
...@@ -143,6 +145,7 @@ ...@@ -143,6 +145,7 @@
'use_lto%': '<(use_lto)', 'use_lto%': '<(use_lto)',
'cfi_vptr%': '<(cfi_vptr)', 'cfi_vptr%': '<(cfi_vptr)',
'cfi_diag%': '<(cfi_diag)', 'cfi_diag%': '<(cfi_diag)',
'cfi_blacklist%': '<(cfi_blacklist)',
# Add a simple extras solely for the purpose of the cctests # Add a simple extras solely for the purpose of the cctests
'v8_extra_library_files': ['../test/cctest/test-extra.js'], 'v8_extra_library_files': ['../test/cctest/test-extra.js'],
...@@ -1270,6 +1273,7 @@ ...@@ -1270,6 +1273,7 @@
'-fsanitize=cfi-vcall', '-fsanitize=cfi-vcall',
'-fsanitize=cfi-derived-cast', '-fsanitize=cfi-derived-cast',
'-fsanitize=cfi-unrelated-cast', '-fsanitize=cfi-unrelated-cast',
'-fsanitize-blacklist=<(cfi_blacklist)',
], ],
'ldflags': [ 'ldflags': [
'-fsanitize=cfi-vcall', '-fsanitize=cfi-vcall',
......
# All std:: types
# This should be possible to remove, if/when we build against
# a statically linked libc++.
type:std::*
\ No newline at end of file
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