]> granicus.if.org Git - clang/commit
[DebugInfo] Inline for without DebugLocation
authorAnastasis Grammenos <anastasis.gramm2@gmail.com>
Thu, 21 Jun 2018 16:53:48 +0000 (16:53 +0000)
committerAnastasis Grammenos <anastasis.gramm2@gmail.com>
Thu, 21 Jun 2018 16:53:48 +0000 (16:53 +0000)
commit4cf0c3e56c85f0a38f92434d074a6d43165d16a7
tree41c359599ac293ac70b32dbd1d2e02b0ce779806
parent0be86b8c934425669a4da497cbc08425370fda0a
[DebugInfo] Inline for without DebugLocation

Summary:
This test is a strip down version of a function inside the
amalgamated sqlite source. When converted to IR clang produces
a phi instruction without debug location.

This patch fixes the above issue.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335255 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/debug-info-inline-for.c [new file with mode: 0644]