[DebugInfo] Describe size of spilled values in call site params
authorVedant Kumar <vsk@apple.com>
Tue, 19 Nov 2019 19:58:14 +0000 (11:58 -0800)
committerVedant Kumar <vsk@apple.com>
Tue, 19 Nov 2019 20:03:52 +0000 (12:03 -0800)
commitba71ca37208faf0916b4cae4298789796b791cfe
tree0675663a7963fab9717de416a794db48bb9d1183
parent3279724905c14a8db383ade53af40a0dd49504d8
[DebugInfo] Describe size of spilled values in call site params

A call site parameter description of a memory operand needs to
unambiguously convey the size of the operand to prevent incorrect entry
value evaluation.

Thanks for David Stenberg for pointing this issue out!
llvm/lib/CodeGen/TargetInstrInfo.cpp
llvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg.mir