]> granicus.if.org Git - llvm/commit
[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)
commit3ae7172022578ef42e3af723030adbce39f479aa
tree9310df32a74f9bbea0ce857c0172c552bd22aa8d
parente0cea293248f43f724756bfc144b1d05f5da4db7
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374770 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/dbgcall-site-64-bit-imms.ll [new file with mode: 0644]