The machine verifier never verifies that a DBG_VALUE or DBG_VALUE_LIST refers to a DILocalVariable. This may cause issues in optimization passes.
This patch adds a quick check to make sure a DBG_VALUE or DBG_VALUE_LIST always refers to a DILocalVariable
dead code