© Copyright International Business Machines Corporation 2015. All rights reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
When a tested function returns a pointer value (for example : FOO_TYPE *foo()), the generated variable, in the test case to test the function result, is always generated as a pointer type even if the preference 'Instantiate variable as pointed type' is checked.
Workaround: No known workaround.
The C/C++ instrumentor -EXCALL option does not work when the EOL format of the txt file is inconsistent with the host operating system.
Workaround: Rewrite the file from the host machine running the tool to get the appropriate EOL format.
Intrumented file fails to compile on 64 bits targets with the following error : Error ::_AttClassField*' to `unsigned int' loses precision.
Workaround: In TDP library file "att.h", replace return ((RTRT_U_INT32)this) ^ (a); } \ by return _ATT_THIS(a); } \ in 3 macros : _ATT_DEFINE_CLASS_FIELD, _ATT_DEFINE_CLASS_FIELD_TMPL, _ATT_DEFINE_CLASS_FIELD_TMPL_CODE.
When a TEST is made of multiple ELEMENTs, only the coverage rate for the first PTU ELEMENT is shown in the test report.
Workaround: Create a TEST block for each ELEMENT.
When there are multiple services with the same name in a PTU, only the last service will be shown in the test report.
Workaround: Avoid duplicated service names in a PTU.
attolcc4 does not instrument properly a struct with method, even if it is part of a union.
Workaround: Use attolccp instead of attolcc4.
atostart option -restrict_dir_metrics on Linux leads to a runtime error when the directory path does not end with a "/".
Workaround: Add one or two "/" at the end of the path for this option.
When a struct field spans over multiple lines, attostart generates an incorrect PTU.
Workaround: Rewrite the PTU manually once generated.
Tests can only be exported in the workspace while it should be possible to export it at any place on the file system.
Workaround: No known workaround.