Command line to launch code coverage for assembler files
You can launch code coverage for assembler files through a command line interface.
COMMAND AND OPTIONS
Following is the command used to launch the code coverage for assembler files.
attolgas <lst> <instr> <asmopt> [ options ]
-
[-PROC[=<RET>]]
Instrument the function entries which are identified as the entry points in the assembler code by using either the directive .function or by referencing them in a BR instruction.
When the RET option is set, exit points in the code are instrumented. These exit points are identified by instructions such as 'MOV LR, PC' and 'POP PC' in the assembler code.
-
[-BLOCK[=<IMPLICIT|DECISION|LOGICAL>]]
Instrument the statement blocks, which are sets of instructions between a block entry, a label, or an instruction just after a conditional jump, and a block exit, a jump, or the instruction just before another block entry.
Note: The parameters added after the option -BLOCK are not active. -
[-NOPROC]
This is the default option that disables the instrumentation of functions and exits.
-
[-CALL|-NOCALL]
Choose whether to instrument calls made with the BR instruction. The default option is set to -NOCALL
-
[-NOBLOCK]
No instrumentation of the blocks (default option).
The other options are similar to the attolcc4 options:
-
[-NOINLINE]
- [-NOINCLUDE]
-
[-COMPACT]
-
[-COUNT]
-
[-COMMENT=<text>]
-
[-NOPATH]
-
[-NOFULLPATHKEY]
-
[-ALTCHECKSUM]
-
[-NOCVI]
-
[-NOSOURCE]
- [-NOINFO]
-
[-MAIN=<service>]
-
[-EXCALL=<file>]
-
[-RENAME=<name>[,name]]
-
[-REMOVE=<name>[,name]]
-
[-NOINSTRDIR=<directory>[,directory]]
-
[-FDCNAME=<file>]
-
[-FDCDIR[=<directory>]]
-
[-NOWARNINGS]
-
[-SHOWINFO]
- [-STUDIO_LOG[=<log-file>]] (for Studio only)
-
[-NOTERNARY]
- [-CALLMAYTERMINATE=<service>[,service]]
- [-WHILEONLY]
- [-CONSTLOOP]
- [-COND[=<MODIFIED|COMPOUND|FORCEEVALUATION|FORCEBITWISE|BITWISE>]]
-
[-NOCOND]
- [-CONDEXPRESSION]
- [-KEEP]
- [-METRICS|-NOMETRICS]
- [-DUMPCALLING=<service>[,service]]
- [-DUMPINCOMING=<service>[,service]]
- [-DUMPRETURNING=<service>[,service]]
-
[-FILE=<file>[,file]]
-
[-EXFILE=<file>[,file]]
-
[-UNIT=<name>[,name]]
-
[-EXUNIT=<name>[,name]]
-
[-SERVICE=<name>[,name]]
-
[-EXSERVICE=<name>[,name]]
-
[-INSTANTIATIONMODE=<USED|ALL>]
- [-PCHMODE[=<CREATE|USE>]]
-
[-OTIFILE=<file>[,file]]
-
[-BODY=<MAP_FILE|NAME_CONV|INLINE>]
-
[-AUTO_OTI]
-
[-OTIDIR[=<directory>]]
-
[-NO_OTC]
-
[-NO_OTD]
-
[-MAPFILE[=<file>]]
-
[-INSTR_CONST]
-
[-MTSUPPORT]
-
[-FRIEND_TEST_CLASS[=<name>][,name]]
-
[-TRACE|-NOTRACE]
-
[-NO_DATA_TRACE]
-
[-NO_UNNAMED_TRACE]
-
[-NO_TEMPLATE_NOTE]
-
[-MEMPRO]
-
[-PURIFYLT]
-
[-NOINSPECT[=<variable>][,variable]]
-
[-NOINSPECTDIR=<directory>[,directory]]
-
[-PERFPRO[=<OS|PROCESS>]]
-
[-QUANTIFYLT[=<OS|PROCESS>]]
-
[-TSFNAME=<file>]
- [-TSFDIR[=<directory>]]
-
[-NODLINE]
-
[-SET=<name>[,name]]
-
[-APPSTACK]
-
[-CCOUPLING]
-
[-STACKSIZE]
-
[-FEOPT=<name>[,name]]
-
[-C99]
-
[-BEFORE_RETURN_EXPR]