Calixte Denizet
f050f474b6
Bug 1541224 - Avoid to use uninitialized handle when flushing ccov counters r=marco
...
Counters can be flushed before init has been called so this patch add a condition in FlushCounters to be sure that everything has been initialized.
Differential Revision: https://phabricator.services.mozilla.com/D110575
2021-05-04 16:02:49 +00:00
Calixte Denizet
fc57341ce2
Bug 1602482 - Remove use of ___custom_llvm_gcov_flush r=marco,dmajor
...
Because of conflicts between gcov_flush from gcc and the one from llvm, we renamed llvm one into ___custom_llvm_gcov_flush.
Since we switched to clang for linux ccov builds, this workaround is now useless.
Differential Revision: https://phabricator.services.mozilla.com/D104990
2021-02-12 20:37:25 +00:00
Csoregi Natalia
4e739055db
Backed out changeset 333391f911e5 (bug 1602482) for toolchains bustage. CLOSED TREE
2021-02-12 18:14:44 +02:00
Calixte Denizet
73c4143761
Bug 1602482 - Remove use of ___custom_llvm_gcov_flush r=marco,dmajor
...
Because of conflicts between gcov_flush from gcc and the one from llvm, we renamed llvm one into ___custom_llvm_gcov_flush.
Since we switched to clang for linux ccov builds, this workaround is now useless.
Differential Revision: https://phabricator.services.mozilla.com/D104990
2021-02-12 14:45:24 +00:00
Simon Giesecke
46908cfb51
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Evan Welsh
51a27c09a6
Bug 1654696 - Implement code coverage JSAPI. r=nbp,jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D85808
2020-08-08 03:23:31 +00:00
David Major
5a44047824
Bug 1657391 - Update CodeCoverageHandler.cpp for clang-12 r=marco
...
In clang-12, https://github.com/llvm/llvm-project/commit/5809a32e7c2d79a9a463eb9c15cde994b42e3002 split `__gcov_flush` into `__gcov_dump` and `__gcov_reset`. We have to make a corresponding update in CodeCoverageHandler.cpp to avoid build errors.
Differential Revision: https://phabricator.services.mozilla.com/D86026
2020-08-05 22:00:39 +00:00
Dorel Luca
99bbf02537
Backed out changeset 870b38a3dc28 (bug 1602482) for as per dev's request. a=backout
2019-12-10 13:47:12 +02:00
Calixte Denizet
e3d332e3bf
Bug 1602482 - Remove use of ___custom_llvm_gcov_flush r=marco
...
Because of conflicts between gcov_flush from gcc and the one from llvm, we renamed llvm one into ___custom_llvm_gcov_flush.
Since we switched to clang for ccov builds, this workaround is now useless.
Differential Revision: https://phabricator.services.mozilla.com/D56394
2019-12-09 17:07:00 +00:00
Ted Campbell
092a087286
Bug 1578730 - Add js::GetCodeCovergeSummaryAll API. r=nbp,marco
...
Split the GetCodeCoverageSummary API into a variant for a specific realm
vs checking all realms. This restores the original behaviour of the
getLcovInfo testing function to only return info on current realm. This
makes testing OOM behaviour much more predictable.
Differential Revision: https://phabricator.services.mozilla.com/D46167
2019-09-19 00:08:39 +00:00
Mike Hommey
503f40c291
Followup for bug 1538060 again. More bustage fix. r=me,a=CristianB
2019-04-02 23:48:01 +09:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Marco Castelluccio
cb5c0a372f
Bug 1502021 - Keep renaming __gcov_flush in LLVM to avoid naming clashes with builds mixing GCC and LLVM coverage instrumentation. r=decoder
2018-11-14 01:41:22 +01:00
Marco Castelluccio
009d460fab
Bug 1504073 - Close output stream for flushing JS coverage data after we're done writing. r=froydnj
2018-11-02 01:03:11 +01:00
Cosmin Sabou
b74d082dea
Backed out 2 changesets (bug 1504073) for spidermonkey build bustages on functionnames.js
...
Backed out changeset 8d667ad8e5aa (bug 1504073 )
Backed out changeset 3d14a1201277 (bug 1504073 )
2018-11-05 15:47:07 +02:00
Marco Castelluccio
575752f65e
Bug 1504073 - Close output stream for flushing JS coverage data after we're done writing. r=froydnj
2018-11-02 01:03:11 +01:00
Marco Castelluccio
c859e04fb2
Bug 1380661 - Flush JS counters too when flushing GCOV counters. r=froydnj
2018-10-24 21:32:41 +02:00
Marco Castelluccio
6e5b534c8e
Bug 1498637 - Use __gcov_flush to implement dumping and resetting instead of __gcov_dump and __gcov_reset. r=froydnj
2018-10-15 10:36:45 +02:00
Marco Castelluccio
422db5e485
Bug 1476213 - Include process.h on Windows and define getpid as _getpid. r=me
2018-07-17 12:09:16 +02:00
Marco Castelluccio
a0798327b5
Bug 1476213 - Be more verbose when resetting/dumping counters. r=calixte
2018-07-17 10:05:45 +02:00
Marco Castelluccio
7baf77c4c4
Bug 1470151 - Make dumpCoverage and resetCoverage return a Promise that is resolved when the parent process and all content processes are done with dumping or resetting coverage counters. r=froydnj
2018-06-22 14:31:59 +01:00
Coroiu Cristina
de9b32d20d
Backed out 3 changesets (bug 1470151) for build bustage at testing/xpcshell/selftest.py on a CLOSED TREE
...
Backed out changeset c73f394a4bef (bug 1470151)
Backed out changeset 3579431e03dc (bug 1470151)
Backed out changeset ddde7dd347d4 (bug 1470151)
2018-06-27 16:57:10 +03:00
Marco Castelluccio
c1de911ed9
Bug 1470151 - Make dumpCoverage and resetCoverage return a Promise that is resolved when the parent process and all content processes are done with dumping or resetting coverage counters. r=froydnj
2018-06-22 14:31:59 +01:00
Marco Castelluccio
162624effa
Bug 1416199 - Don't try to set signal handlers in Windows coverage build. r=froydnj
2017-11-10 12:50:14 +01:00
Marco Castelluccio
9baa6663ef
Bug 1403143 - Remove useless 'using namespace mozilla::ipc' from CodeCoverageHandler. r=jmaher
2017-09-26 13:48:17 +02:00
Marco Castelluccio
e86f66afac
Bug 1397505 - Only support dumping/resetting coverage counters with GCC builds. r=froydnj
2017-09-07 00:31:03 +02:00
Christian Holler
9fc0d3c5ee
Bug 1390945 - Make GCOV signal handlers work in --disable-debug mode. r=froydnj
...
MozReview-Commit-ID: Lm8IhokH3ns
2017-08-16 20:39:26 +02:00
Marco Castelluccio
eb71271b87
Bug 1380659 - Introduce code coverage component to dump/reset coverage counters. r=erahm
2017-07-14 10:58:56 +02:00