]> granicus.if.org Git - clang/commit
Fix PR19351. While building up a composite type it is important to use
authorAdrian Prantl <aprantl@apple.com>
Wed, 11 Feb 2015 17:45:15 +0000 (17:45 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 11 Feb 2015 17:45:15 +0000 (17:45 +0000)
commitd1c6a9401191aebba6e42975d29cd2b6612106f8
treefcae86a4e48904a7475d52b6a02c4fa946c4ac80
parentaf67386d42a4ba9439d1e196edaafef8e267fcd7
Fix PR19351. While building up a composite type it is important to use
a non-uniqueable temporary node that is only turned into a permanent
unique or distinct node after it is finished.
Otherwise an intermediate node may get accidentally uniqued with another
node as illustrated by the testcase.

Paired commit with LLVM.

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