]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Exclude library units from gnatcov instrumentation
authorRonan Desplanques <desplanques@adacore.com>
Tue, 26 Nov 2024 12:45:32 +0000 (13:45 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 13 Dec 2024 08:36:00 +0000 (09:36 +0100)
commitcdd221cefe4ca3a75b141b93113e818f5e22ac9f
tree3b1ccf0bd1ce98b30c0b79384492cda5af82079c
parent9c0382624b302be3fda8a465dd37615344f7bef6
ada: Exclude library units from gnatcov instrumentation

Before this patch, we instrumented code that's only used during the
build process to generate more code. This patch marks the
code-generating code so it's not instrumented for coverage.

gcc/ada/ChangeLog:

* gnat2.gpr: Add library units to coverage exclusion list.
gcc/ada/gnat2.gpr