[DebugInfo] Fix truncation of call site immediates
authorDavid Stenberg <david.stenberg@ericsson.com>
Mon, 14 Oct 2019 12:49:58 +0000 (12:49 +0000)
committerDavid Stenberg <david.stenberg@ericsson.com>
Mon, 14 Oct 2019 12:49:58 +0000 (12:49 +0000)
commit8535bed79504ffe3ed7f2de8c158a17e79e54736
treee5727cd8d841caa68a0c1376b7301e92d9f81f30
parent5a8db8496440b9d6ced91bd24f4b6b463acc7d55
[DebugInfo] Fix truncation of call site immediates

Summary:
This addresses a bug in collectCallSiteParameters() where call site
immediates would be truncated from int64_t to unsigned.

This fixes PR43525.

Reviewers: djtodoro, NikolaPrica, aprantl, vsk

Reviewed By: aprantl

Subscribers: hiraditya, llvm-commits

Tags: #debug-info, #llvm

Differential Revision: https://reviews.llvm.org/D68869

llvm-svn: 374770
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/test/DebugInfo/X86/dbgcall-site-64-bit-imms.ll [new file with mode: 0644]