Bug 384305 - Add a new option to provide to the user debugging flags needed to run Gcov
Summary: Add a new option to provide to the user debugging flags needed to run Gcov
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: Next   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-04 15:13 EDT by Plinio Freire CLA
Modified: 2020-09-04 15:20 EDT (History)
2 users (show)

See Also:


Attachments
This patch add the checkbox (5.53 KB, patch)
2012-07-04 15:16 EDT, Plinio Freire CLA
pleirie: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Plinio Freire CLA 2012-07-04 15:13:17 EDT
Build Identifier: I20120608-1200

The flags added are -ftest-coverage -fprofile-arcs

About Gcov: 
Gcov is a test coverage program used to analyze your programs to help create more efficient, faster running code and to discover untested parts.

To use gcov, the program must be compiled with two special GCC options: '-fprofile-arcs -ftest-coverage'. This tells the compiler to generate additional information needed by gcov.

Reproducible: Always

Steps to Reproduce:
1.Create a C or C++ project
2.On project properties -> C/C++ Build, try to set -ftest-coverage -fprofile-arcs as a Debugging flag.
3.The flag checkbox isn't available on the UI
Comment 1 Plinio Freire CLA 2012-07-04 15:16:17 EDT
Created attachment 218293 [details]
This patch add the checkbox