Occasionally LLDB runs into contexts where the
target is stopped in a C++ or Objective-C method
but the "self" pointer's valid range actually
doesn't cover the current location.  Before, that
was confusing Clang to the point where it crashed;
now, we sanity-check and fall back to pretending
we're in a C function if "self" or "this" isn't
available.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143676 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed