Skip to content
Commit 40cb819c authored by Adrian Prantl's avatar Adrian Prantl
Browse files

Debug info: Fix PR22296 by omitting the DW_AT_location if we lost the

physical register that is described in a DBG_VALUE.

In the testcase the DBG_VALUE describing "p5" becomes unavailable
because the register its address is in is clobbered and we (currently)
aren't smart enough to realize that the value is rematerialized immediately
after the DBG_VALUE and/or is actually a stack slot.

llvm-svn: 227056
parent 258ac3cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment