hanchenye-llvm-project/lldb/test/functionalities/load_unload
Johnny Chen 60e2c6aa43 rdar://problem/10501020
ClangASTSource::~ClangASTSource() was calling

    ClangASTContext *scratch_clang_ast_context = m_target->GetScratchClangASTContext();

which had the side effect of deleting this very ClangASTSource instance.  Not good.
Change it to

    // We are in the process of destruction, don't create clang ast context on demand
    // by passing false to Target::GetScratchClangASTContext(create_on_demand).
    ClangASTContext *scratch_clang_ast_context = m_target->GetScratchClangASTContext(false);

The Target::GetScratchClangASTContext(bool create_on_demand=true) has a new signature.

llvm-svn: 145537
2011-11-30 23:18:53 +00:00
..
Makefile Add a directory to make the second copy of libd.dylib in, so we don't have 2011-08-03 19:32:42 +00:00
TestLoadUnload.py rdar://problem/10501020 2011-11-30 23:18:53 +00:00
a.c
b.c
c.c
cmds.txt
d.c
main.c