From: Peter O. <obe...@us...> - 2012-07-18 12:13:02
|
Update of /cvsroot/ltp/utils/analysis/lcov/man In directory vz-cvs-4.sog:/tmp/cvs-serv11905/man Modified Files: geninfo.1 lcov.1 Log Message: lcov: add missing documentation for --compat option Add missing sections in the geninfo and lcov man-pages for the newly introduced command line option --compat. Also set the default value for the hammer compatibility mode to 'auto' to keep the behavior of previous releases. Index: geninfo.1 =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/man/geninfo.1,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** geninfo.1 19 Nov 2010 16:33:25 -0000 1.20 --- geninfo.1 18 Jul 2012 12:13:00 -0000 1.21 *************** *** 41,44 **** --- 41,46 ---- .br .RB [ \-\-derive\-func\-data ] + .RB [ \-\-compat + .IR mode =on|off|auto] .RE .SH DESCRIPTION *************** *** 148,151 **** --- 150,215 ---- .RE + .B \-\-compat + .IR mode = value + .br + .RS + Set compatibility mode. + + Use \-\-compat to specify that geninfo should enable one or more compatibility + modes when capturing coverage data. Valid + .I values + are: + + .B on + .RS + Enable compatibility mode. + .RE + .B off + .RS + Disable compatibility mode. + .RE + .B auto + .RS + Apply auto-detection to determine if compatibility mode is required. Note that + auto-detection is not available for all compatibility modes. + .RE + + Valid + .I modes + are: + + .B libtool + .RS + Enable this mode if you are capturing coverage data for a project that + was built using the libtool mechanism. See also + \-\-compat\-libtool. + + The default value for this setting is 'on'. + + .RE + .B hammer + .RS + Enable this mode if you are capturing coverage data for a project that + was built using a version of GCC 3.3 that contains a modification + (hammer patch) of later GCC versions. You can identify a modified GCC 3.3 + by checking the build directory of your project for files ending in the + extension '.bbg'. Unmodified versions of GCC 3.3 name these files '.bb'. + + The default value for this setting is 'auto'. + + .RE + .B split_crc + .RS + Enable this mode if you are capturing coverage data for a project that + was built using a version of GCC 4.6 that contains a modification + (split function checksums) of later GCC versions. Typical error messages + when running geninfo on coverage data produced by such GCC versions are + \'out of memory' and 'reached unexpected end of file'. + + The default value for this setting is 'auto' + .RE + + .RE + .B \-\-compat\-libtool .br Index: lcov.1 =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/man/lcov.1,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** lcov.1 17 Jul 2012 11:37:13 -0000 1.26 --- lcov.1 18 Jul 2012 12:13:00 -0000 1.27 *************** *** 45,48 **** --- 45,50 ---- .RB [ \-\-config\-file .IR config\-file ] + .RB [ \-\-compat + .IR mode =on|off|auto] .br .RE *************** *** 72,75 **** --- 74,79 ---- .RB [ \-\-config\-file .IR config\-file ] + .RB [ \-\-compat + .IR mode =on|off|auto] .br .RE *************** *** 298,301 **** --- 302,367 ---- .RE + .B \-\-compat + .IR mode = value + .br + .RS + Set compatibility mode. + + Use \-\-compat to specify that lcov should enable one or more compatibility + modes when capturing coverage data. Valid + .I values + are: + + .B on + .RS + Enable compatibility mode. + .RE + .B off + .RS + Disable compatibility mode. + .RE + .B auto + .RS + Apply auto-detection to determine if compatibility mode is required. Note that + auto-detection is not available for all compatibility modes. + .RE + + Valid + .I modes + are: + + .B libtool + .RS + Enable this mode if you are capturing coverage data for a project that + was built using the libtool mechanism. See also + \-\-compat\-libtool. + + The default value for this setting is 'on'. + + .RE + .B hammer + .RS + Enable this mode if you are capturing coverage data for a project that + was built using a version of GCC 3.3 that contains a modification + (hammer patch) of later GCC versions. You can identify a modified GCC 3.3 + by checking the build directory of your project for files ending in the + extension '.bbg'. Unmodified versions of GCC 3.3 name these files '.bb'. + + The default value for this setting is 'auto'. + + .RE + .B split_crc + .RS + Enable this mode if you are capturing coverage data for a project that + was built using a version of GCC 4.6 that contains a modification + (split function checksums) of later GCC versions. Typical error messages + when running lcov on coverage data produced by such GCC versions are + \'out of memory' and 'reached unexpected end of file'. + + The default value for this setting is 'auto' + .RE + + .RE + .B \-\-compat\-libtool .br |