[IR/Diagnostic] Assert that DebugLoc is valid before accessing.
authorDavide Italiano <davide@freebsd.org>
Mon, 4 May 2015 18:08:35 +0000 (18:08 +0000)
committerDavide Italiano <davide@freebsd.org>
Mon, 4 May 2015 18:08:35 +0000 (18:08 +0000)
commitde7e17f65a88b16b76f4060a9733ca6abc9d7627
tree156d6d34591fed6b2c54865a50a80121c87698f9
parent375079a549c584bd14dad501ecc4575738cea3c1
[IR/Diagnostic] Assert that DebugLoc is valid before accessing.

PR: 23380
Differential Revision: http://reviews.llvm.org/D9464
Reviewed by: dexonsmith

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