Bug 1373843 - Add -fsanitize-coverage to cflags in nicer.gyp; r=posidron
authorDan Minor <dminor@mozilla.com>
Wed, 20 Sep 2017 17:05:07 -0400
changeset 431559 51711f2c9cae02483300eaaf12badc73a39e24b1
parent 431558 a88ee0137c104a57c747cd129c45952ccf1431ad
child 431560 fa279c97fca18b99615e64808b6a596f20dc18b8
push id7785
push userryanvm@gmail.com
push dateThu, 21 Sep 2017 13:39:55 +0000
treeherdermozilla-beta@06d4034a8a03 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersposidron
bugs1373843
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1373843 - Add -fsanitize-coverage to cflags in nicer.gyp; r=posidron I missed doing this in the original patch because my mozconfig defined the CFLAGS globally to include -fsanitize-coverage. MozReview-Commit-ID: 4QdiIgdfAm2
media/mtransport/third_party/nICEr/nicer.gyp
--- a/media/mtransport/third_party/nICEr/nicer.gyp
+++ b/media/mtransport/third_party/nICEr/nicer.gyp
@@ -231,13 +231,18 @@
 
 		 'sources': [
 		 ],
              }],
              ['have_ethtool_cmd_speed_hi==0', {
                'defines': [
                   "DONT_HAVE_ETHTOOL_SPEED_HI",
                ]
-             }]
+             }],
+        ['libfuzzer == 1', {
+          'cflags_mozilla': [
+            '-fsanitize-coverage=trace-pc-guard',
+         ],
+        }],
           ],
       }]
 }