llvm-project/lldb/test
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
..
api/check_public_api_headers Moved many of the "settings" that used to be in "target.process.*" to just 2011-11-08 02:43:13 +00:00
arm_emulation Remove old emulation test data files. 2011-04-22 16:29:23 +00:00
attic Move two files to the 'attic'. 2010-10-05 00:08:08 +00:00
benchmarks This benchmark is meant to run the locally built 'lldb' binary, not the binary on the PATH env variable. 2011-10-28 00:46:47 +00:00
example Changed the test case class names to be noun-like instead of verb-like. 2010-09-01 19:59:58 +00:00
expression_command Fix objc runtime warnings from the inferior program. 2011-11-15 22:42:53 +00:00
functionalities rdar://problem/10501020 2011-11-30 23:18:53 +00:00
help Add a simple test case for 'help watchpoint', 'help watchpt-id', and 'help watchpt-id-list'. 2011-09-23 17:57:49 +00:00
lang Rename test class appropriately. 2011-11-17 18:47:38 +00:00
logging Modify the loggings output oracle to fix test suite failure, after the recent change to CommandInterpreter.cpp. 2011-08-25 21:51:45 +00:00
macosx Add a simple test case to exercise the SBDebugger.CreateTargetWithFileAndTargetTriple() API. 2011-08-13 00:55:56 +00:00
make Dependency file for dylib source was not being cleaned up. 2011-11-14 18:37:49 +00:00
pexpect-2.4 Add pexpect-2.4 (a pure Python module for controlling and automating other programs) to the test directory. 2011-03-11 20:13:06 +00:00
plugins The plugin impl of getCompiler() should be in unison with the Makefile.rules change. 2011-08-24 18:12:53 +00:00
python_api SBProcess.PutSTDIN() needs to be properly typemapped when swigging, 2011-11-28 21:39:07 +00:00
settings Moved many of the "settings" that used to be in "target.process.*" to just 2011-11-08 02:43:13 +00:00
source-manager Passing in os.ctermid() as the arg for SBTarget.Launch(...) for stdin_path, stdout_path, and stderr_path 2011-07-11 23:38:23 +00:00
types o lldbtest.py: 2011-06-23 22:11:20 +00:00
unittest2 o Added unittest2 which has added the new features in unittest for Python 2.7 2010-08-05 23:42:46 +00:00
Makefile tests: Improve Makefile/dotest to properly set LLDB_HERE variable used in some 2011-10-31 23:27:06 +00:00
README-TestSuite Add some descriptions about the default executable name being 'a.out' and can be overwritten 2011-07-28 21:15:39 +00:00
bench-history Add bench entries. 2011-11-29 19:13:38 +00:00
bench.py Establish a baseline for bench.py score by using a fixed lldb executable as the 2011-10-26 22:58:02 +00:00
blacklist.py Don't set DYLD_LIBRARY_PATH in the Python environment (which will get passed down to 2011-08-03 17:41:28 +00:00
dosep.ty Remove invalid docstring (due to cut-and-paste error). 2011-11-16 18:48:48 +00:00
dotest.py Add a simple progress bar when neither '-v' nor '-t' is specified. 2011-11-18 00:19:29 +00:00
lldbbench.py Add display of min and max samples to Stopwatch's string representation. 2011-10-27 00:32:03 +00:00
lldbtest.py Add an option '-S' to skip the build and cleanup while running the test. 2011-11-17 19:57:27 +00:00
lldbutil.py <rdar://problem/10338439> 2011-11-13 04:15:56 +00:00
redo.py Add processing of '-help' option. 2011-11-30 19:46:37 +00:00