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

Unified Diff: base/allocator/allocator.gyp

Issue 10854031: Support vtable_verify (new compiler option). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Do not turn on verification by default. Created 8 years, 4 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/common.gypi » ('j') | build/common.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/allocator/allocator.gyp
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp
index e2c8ac0faeb383fd96b138b1f99b23c830ab21bb..ee4ee44f34e6dc58f50fb5aed88a0c6a9476cd9c 100644
--- a/base/allocator/allocator.gyp
+++ b/base/allocator/allocator.gyp
@@ -394,6 +394,16 @@
'-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv',
]},
}],
+ [ 'use_vtable_verify==1', {
+ 'cflags': [
Mark Mentovai 2012/08/13 20:07:12 It is normal in GYP conditions like this to only h
+ '-Wno-sign-compare',
+ '-Wno-unused-result',
+ '-fvtable-verify=preinit',
+ ],
+ 'cflags!': [
+ '-fvtable-verify=std',
+ ],
Mark Mentovai 2012/08/13 20:07:12 Fix weird indentation. This should line up with th
+ }],
[ 'linux_use_debugallocation==1', {
'sources!': [
# debugallocation.cc #includes tcmalloc.cc,
« no previous file with comments | « no previous file | build/common.gypi » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698