This is the bare minimum needed to dump ClangASTContexts via lldb-test.
Within the first 10 seconds of using this, I already found a bug. A FIXME note and repro is included in the comments in this patch.
With this, it should be possible to do deep testing of otherwise difficult to test scenarios involving ClangASTContext.