summaryrefslogtreecommitdiffstats
path: root/ppapi/native_client
diff options
context:
space:
mode:
authorbyoungyoung@google.com <byoungyoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-26 23:31:40 +0000
committerbyoungyoung@google.com <byoungyoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-26 23:31:40 +0000
commit0dbe7af9067169891f193be790780ef02efadb13 (patch)
tree97ddee95f4f35021ab728c6091c7e330995f9daf /ppapi/native_client
parentedb5ca4ef68631ea79685ac38066aff7b788c936 (diff)
downloadchromium_src-0dbe7af9067169891f193be790780ef02efadb13.zip
chromium_src-0dbe7af9067169891f193be790780ef02efadb13.tar.gz
chromium_src-0dbe7af9067169891f193be790780ef02efadb13.tar.bz2
Add preliminary support for UBsan's vptr in Chromium (-fsanitize=vptr).
Can be enabled using ubsan_vptr=1, but not working right now due to 1) Clang's missing library and 2) Clang's link bug. BUG=174801 TBR=kbr@chromium.org, mseaborn@chromium.org R=glider@chromium.org, inferno@chromium.org Review URL: https://codereview.chromium.org/357753002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/native_client')
-rw-r--r--ppapi/native_client/src/trusted/plugin/plugin.gypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.gypi b/ppapi/native_client/src/trusted/plugin/plugin.gypi
index 27ee36a..c59c6ec 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.gypi
+++ b/ppapi/native_client/src/trusted/plugin/plugin.gypi
@@ -41,7 +41,7 @@
'-Wno-unused-parameter', # be a bit stricter to match NaCl flags.
],
'conditions': [
- ['asan!=1 and msan!=1', {
+ ['asan!=1 and msan!=1 and ubsan_vptr!=1', {
'ldflags': [
# Catch unresolved symbols.
'-Wl,-z,defs',