facilitate session recording. This happens inside an instance method where the test instance is well known. llvm-svn: 116649