Verifier: verify that a DILocation's scope is a DILocalScope.

This fixes an assertion failure(!) in the Verifier.

rdar://problem/43687474

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340653 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed