TotalView Online Help : Chapter 10 Other Topics : Setting Search Paths Using TotalView Variables : Search Path Variables That TotalView Sets : COMPILATION_WORKING_DIRECTORY
The COMPILATION_WORKING_DIRECTORY variable contains the full pathname of the directory in which the compiler was invoked. This variable can be empty because not all compilers add this information to the generated debug information.