IBM Support

How to specify the memory location of variables generated by Instrumentation

Technote (FAQ)


How do you specify the memory location of variables that Instrumentation generated in IBM Rational Test RealTime (TestRT)?


TestRT adds various symbols to the code when it instruments the files and adds the code for the Target Deployment Port (TDP). You want manage where TestRT places those symbols in memory.


If the compiler allows to set the section name, you can set the section Name for TestRT variables in the following TDP section. Helpful would be define ATL_SECTION,

Library Settings > Include files visible to all generated and instrumented files.


static int ATTOL_VAR[] __attribute__ ((section ( <Section_name>)));

#define ATL_SECTION <Section_name>

From the command line, you can pass the option directly at the compilation phase.

 -D ATL_SECTION=ATL_STR\(sectionName\)

Document information

More support for: Rational Test RealTime
Runtime Analysis: C

Software version: 7.5,,,,,,, 8.0,,

Operating system(s): Windows

Reference #: 1619281

Modified date: 07 May 2013

Translate this page: