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

Unified Diff: third_party/mesa/mesa.gyp

Issue 357753002: Add preliminary support for UBsan's vptr in Chromium (-fsanitize=vptr). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved the review by earthdok. 1) Do not replace allocator, and 2) Do not turn off plugin. Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/plugin.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mesa/mesa.gyp
diff --git a/third_party/mesa/mesa.gyp b/third_party/mesa/mesa.gyp
index f2e191e6d303e2db99ccbbd82c2a512123b3981b..bcf44be24fe1ec48b3c6ebca3e3f4daa22c56a42 100644
--- a/third_party/mesa/mesa.gyp
+++ b/third_party/mesa/mesa.gyp
@@ -74,6 +74,14 @@
'-fPIC',
],
}],
+ ['ubsan_vptr == 1', {
+ 'cflags!': [
+ # UBsan's vptr is not compatible with -fno-rtti,
+ # which is used by gallium/auxiliary/Makefile.
+ '-fsanitize=null',
+ '-fsanitize=vptr',
+ ],
+ }],
],
},
'targets': [
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/plugin.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698