Dump the "reason" for a compiler temp
authorBruce Forstall <Bruce_Forstall@msn.com>
Mon, 29 Oct 2018 21:49:26 +0000 (14:49 -0700)
committerBruce Forstall <Bruce_Forstall@msn.com>
Tue, 30 Oct 2018 01:47:33 +0000 (18:47 -0700)
commit4ac1aaf8ecf36df58241adcf23ffa207697391ca
treedf218840e4873f75cb5af62ebcb6464bdc81c8c2
parent859e8b7e49eca88a01ca9d79dff890a13aa4cf6a
Dump the "reason" for a compiler temp

Compiler temps are created with a "reason" that is dumped in JitDump.
Save the reason and display it in the local variable table dump.
This is useful when trying to find a particular temp and see what
code has been generated using it.

Commit migrated from https://github.com/dotnet/coreclr/commit/e36b7a089efd1b36d7e77cccacaca7b15b0c1f15
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/compiler.hpp
src/coreclr/src/jit/lclvars.cpp