llvm-project/lldb/test/functionalities
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
..
abbreviation Add more context information to the stop-hook mechanism by displaying the stop-hook 2011-10-24 23:01:06 +00:00
alias Fix the test suite failure. The particular line in the test case was there since the initial version 2011-11-07 23:26:12 +00:00
backticks Add a simple regression test to go with r143260. 2011-10-29 01:58:39 +00:00
breakpoint Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
command_regex Revert 143359 and modify the test case to not include non-valid c identifier character. 2011-10-31 22:22:06 +00:00
command_script this patch addresses several issues with "command script" subcommands: 2011-11-07 22:57:04 +00:00
command_source Move more top level test dirs to reside under functionalities dir. 2011-06-26 21:36:28 +00:00
conditional_break Do not print debug messages if self.TraceON() is False. 2011-11-18 00:30:58 +00:00
connect_remote Move more top level test dirs to reside under functionalities dir. 2011-06-26 21:36:28 +00:00
data-formatter Added support to the Objective-C language runtime 2011-11-30 22:11:59 +00:00
dead-strip Move more top level test dirs to reside under functionalities dir. 2011-06-26 21:36:28 +00:00
embedded_interpreter If we spawn an lldb process for test (via pexpect), do not load the init file unless told otherwise. 2011-10-07 19:21:09 +00:00
inferior-changed Add TestInferiorChanged.py to test that lldb reloads the inferior after it was changed during the debug session. 2011-08-12 20:19:22 +00:00
inferior-crashing Move top level test dirs platform and inferior-crashing to reside under functionalities and order to reside under macosx. 2011-06-27 18:25:00 +00:00
load_unload rdar://problem/10501020 2011-11-30 23:18:53 +00:00
non-overlapping-index-variable-i Made the expression parser use the StackFrame's 2011-08-06 00:28:14 +00:00
platform Move top level test dirs platform and inferior-crashing to reside under functionalities and order to reside under macosx. 2011-06-27 18:25:00 +00:00
process_launch Redirect the stderr output into a file so as to not pollute the terminal. 2011-11-18 00:58:29 +00:00
signal Move to plevel dirs stop-hook, target, process_launch, and signal to reside under functionalities. 2011-06-27 22:10:42 +00:00
stop-hook If we spawn an lldb process for test (via pexpect), do not load the init file unless told otherwise. 2011-10-07 19:21:09 +00:00
target_command Add a test sequence for 'target variable' command when no arguments are given. 2011-10-06 01:00:53 +00:00
watchpoint Undo r142549 and r142543 which temporarily relax the expected substrings for 2011-10-27 18:27:52 +00:00