- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When compiling source files for code coverage, a few compiler flags must be passed, like, -prof-gen. Do these code coverage flags also change the object files in any way? In other words, can I use the generated object files during the code-coverage compilation process to link and release the target library for production?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No - the object files contain calls to PGO routines that write out a file with records of which "basic blocks" of code were entered. PGO uses this for optimization, Code Coverage uses it for.. code coverage. You would not want this in production code.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No - the object files contain calls to PGO routines that write out a file with records of which "basic blocks" of code were entered. PGO uses this for optimization, Code Coverage uses it for.. code coverage. You would not want this in production code.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page