teak-llvm/lldb/packages/Python/lldbsuite/test
Raphael Isemann 423c2e98e4 [lldb] Fix crash in CxxModuleHandler when std module is empty
We currently don't handle the error in the Expected we get
when searching for an equal local DeclContext. Usually this can't
happen as this would require that we have a STL container and
we can find libc++'s std module, but when we load the module in
the expression parser the module doesn't even contain the 'std'
namespace. The only way I see to test this is by having a fake
'std' module that requires a special define to actually provide
its contents, while it will just be empty (that is, it doesn't
even contain the 'std' namespace) without that define. LLDB currently
doesn't know about that define in the expression parser, so it
will load the wrong 'empty' module which should trigger this error.

Also removed the 'auto' for that variable as the function name
doesn't make it obvious that this is an expected and not just
a optional/ptr (which is how this slipped in from the start).

llvm-svn: 374525
2019-10-11 08:42:22 +00:00
..
android/platform [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
api [lldb] [testsuite] Mark TestSBCommandReturnObject as failing on Windows 2019-10-04 20:49:44 +00:00
arm Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
benchmarks [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
commands [lldb] Fix crash in CxxModuleHandler when std module is empty 2019-10-11 08:42:22 +00:00
driver/batch_mode Don't stop execution in batch mode when process stops with SIGINT or SIGSTOP 2019-09-26 10:57:11 +00:00
functionalities TestMTCSimple: Make Makefile portable. 2019-10-10 21:21:16 +00:00
iohandler/completion dotest: improvements to the pexpect tests 2019-08-30 09:07:42 +00:00
issue_verification [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
lang Speed up accelerator table lookups 2019-10-10 17:59:15 +00:00
linux Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
macosx [Make] Remove spurious line break 2019-10-10 21:49:25 +00:00
make Remove CC autodetection from Makefile.rules 2019-10-10 17:59:18 +00:00
plugins [test] Use a different module cache for Shell and API tests. 2019-10-10 17:27:09 +00:00
python_api update TestRunCommandInterpreterAPI to use SBFile 2019-10-10 19:24:07 +00:00
sample_test Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
sanity [test] Fix various module cache bugs and inconsistencies 2019-08-29 18:37:05 +00:00
source-manager [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
terminal [dotest] Centralize initialization commands even more 2019-09-05 07:35:45 +00:00
test_runner [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
tools Skip Apple simulator test for all remote testing scenarios. 2019-10-09 20:39:04 +00:00
types [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
__init__.py
.categories
bench.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
concurrent_base.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
configuration.py [test] Use a different module cache for Shell and API tests. 2019-10-10 17:27:09 +00:00
darwin_log.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
decorators.py [DWARF] Evaluate DW_OP_entry_value 2019-09-11 21:23:45 +00:00
dotest_args.py [test] Use a different module cache for Shell and API tests. 2019-10-10 17:27:09 +00:00
dotest.py [test] Use a different module cache for Shell and API tests. 2019-10-10 17:27:09 +00:00
lldb_pylint_helper.py Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
lldbbench.py
lldbdwarf.py Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
lldbinline.py [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
lldbpexpect.py Port TestBatchMode to PExpectTest class 2019-09-04 09:20:08 +00:00
lldbplatform.py [dotest] Remove dead code 2019-07-26 01:58:18 +00:00
lldbplatformutil.py TestMTCSimple.py: allow the test to run on Darwin embedded platforms 2019-10-09 23:52:31 +00:00
lldbtest_config.py [dotest] Add the ability to set environment variables for the inferior. 2019-06-26 16:12:08 +00:00
lldbtest.py [test] Use a different module cache for Shell and API tests. 2019-10-10 17:27:09 +00:00
lldbutil.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
lock.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
README-TestSuite Reflow readme 2018-12-17 21:18:12 +00:00
redo.py
test_categories.py [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
test_result.py [dotest] Remove -q (quiet) flag. 2019-08-28 16:28:58 +00:00