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

Unified Diff: build/config/BUILD.gn

Issue 1374423002: Add UBsan vtpr support to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-ubsan
Patch Set: Don't use libc++ 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 39f79e6c18996e5cf1571016da007109b02418fc..4af73895467c840e757efb0330248daab44c5961 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -168,7 +168,7 @@ config("feature_flags") {
if (is_msan) {
defines += [ "MEMORY_SANITIZER" ]
}
- if (is_ubsan) {
+ if (is_ubsan || is_ubsan_vptr) {
defines += [ "UNDEFINED_SANITIZER" ]
}
if (enable_webrtc) {
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698