Previously variables optimized by NRVO showed up as "optimized away" in CodeView and Dwarf debug info because their debug location was the return register.
This change stores a reference to the NRVO variable and uses that for the debug value.
Related to https://bugs.chromium.org/p/chromium/issues/detail?id=860398#c16