Add an assertion and prefer a crash over an infinite loop.
authorAdrian Prantl <aprantl@apple.com>
Tue, 20 Jan 2015 18:03:37 +0000 (18:03 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 20 Jan 2015 18:03:37 +0000 (18:03 +0000)
commit61b4b8088d2f0a592e19dcf870a727d72e2d0aa3
treea4fda5e685f2011b9999ab3a5d1406ba957ce988
parent6dc4d8f0ed809e5ab8e181b072b1f22810e7a5d8
Add an assertion and prefer a crash over an infinite loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226588 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp