Home > User Support > CoverageMaster winAMS FAQ

CoverageMaster winAMS FAQ

Object File, OMF Conversion

102_09: How to create a stub for an inline function or a macro defined function?

Question:

I want to create a stub for an inline expanded function by #pragma or inline keyword, or a macro defined function, but it doesn't appear in the stub creation function list. How can I create a stub for this kind of function?

Answer:

In order to create a stub function with CoverageMaster, the target function must be coded as a function object with debug information symbols. In order to create a stub, it will be different from the original object structure, but it is necessary to remove the inline expansion specification or the macro definition format and recompile as a normal function.

In order to test an inline function or a macro defined function, see the FAQ linked below.
102_08: How to test an inline function or a macro defined function?


Related Technical Tips Search

Other technical tips in GAIO's web site can be searched for using the links below.

Search key word link: Inline Function | Macro Function | Stub
Technical Tips Google Search


Information Links