Bug 1471339 - Add RUSTFLAGS to Linux coverage build to enable gcov profiling for Rust. r=jmaher
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Fri, 27 Jul 2018 01:25:49 +0100
changeset 490468 5cd3b13d5eb95dfa4cd81d02f2b153a435203762
parent 490467 d064a4d17800f65d691c7ce8ac0e5c73d7f0b20f
child 490469 00829050b7d1c8cb1b03f66e9c77293176ec8edc
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1471339
milestone63.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 1471339 - Add RUSTFLAGS to Linux coverage build to enable gcov profiling for Rust. r=jmaher
browser/config/mozconfigs/linux64/code-coverage
--- a/browser/config/mozconfigs/linux64/code-coverage
+++ b/browser/config/mozconfigs/linux64/code-coverage
@@ -10,8 +10,9 @@ ac_add_options --disable-sandbox
 ac_add_options --disable-profiling
 ac_add_options --disable-warnings-as-errors
 ac_add_options --enable-coverage
 
 export CFLAGS="--coverage"
 export CXXFLAGS="--coverage"
 export LDFLAGS="--coverage -L$topsrcdir/clang/lib/clang/7.0.0/lib/linux/"
 export LIBS="-lclang_rt.profile-x86_64"
+export RUSTFLAGS="-Ccodegen-units=1 -Zprofile -Zno-landing-pads"