On 2/1/22 3:47 PM, Reinette Chatre wrote:
In support of debugging the SGX tests print details from the enclave and its memory mappings if any failure is encountered during enclave loading.
When a failure is encountered no data is printed because the printing of the data is preceded by cleanup of the data.
Move the data cleanup after the data print.
Fixes: 147172148909 ("selftests/sgx: Dump segments and /proc/self/maps only on failure") Signed-off-by: Reinette Chatre reinette.chatre@intel.com
Acked-by: Shuah Khan skhan@linuxfoundation.org
thanks, -- Shuah