Commit Graph
23 Commits
Author SHA1 Message Date
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