Based on a recent ToT, this salvages an additional 1072 debug values in a
stage2 build of clang and preserves an additional 40 source variables (as
counted by llvm-dwarfdump --statistics).
WIP: I have not yet found a small, end-to-end test for this patch (i.e something I can verify in a debugger). I'm waiting on delta to reduce a file in llvm that triggers the new logic.
Can you add a comment explaining why this is safe? I.e., because the size of the variable being described implicitly masks out the upper bits of the value..