OSDN Git Service

Fix a crasher where when we're attempting to replace a type
authorEric Christopher <echristo@gmail.com>
Fri, 28 Feb 2014 21:27:57 +0000 (21:27 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 28 Feb 2014 21:27:57 +0000 (21:27 +0000)
commitede487cdb44ee9acb25369f0b0d8b6ab3556c869
treea1866a0198b8741c32e30f0f2d76a243656a7454
parent80883b6a27ef225e5761df5585147f39f130d248
Fix a crasher where when we're attempting to replace a type
during the finalization for CGDebugInfo in clang we would RAUW
a type and it would result in a corrupted MDNode for an
imported declaration.

Testcase pending as reducing has been difficult.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202540 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DIBuilder.h
lib/IR/DIBuilder.cpp