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

Unified Diff: build/common.gypi

Issue 9416068: linux: don't instrument mmx functions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 0a45332266c11c5fac9e59fc5e1f9cb1955b48a3..a1148ffb0753a9796bd7ade82f448d80a64f4797 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1977,7 +1977,12 @@
}],
['linux_keep_shadow_stacks==1', {
'defines': ['KEEP_SHADOW_STACKS'],
- 'cflags': ['-finstrument-functions'],
+ 'cflags': [
+ '-finstrument-functions',
+ # Allow mmx intrinsics to inline, so that the compiler can expand
+ # the intrinsics.
+ '-finstrument-functions-exclude-file-list=mmintrin.h',
+ ],
}],
['linux_use_gold_flags==1', {
'ldflags': [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698