llvm-project/lldb/test/expression_command
Dawn Perchik 009d110de4 Set the default language to use when evaluating to that of the frame's CU.
* Use the frame's context (instead of just the target's) when evaluating,
  so that the language of the frame's CU can be used to select the
  compiler and/or compiler options to use when parsing the expression.
  This allows for modules built with mixed languages to be parsed in
  the context of their frame. 
* Add all C and C++ language variants when determining the language options
  to set.
* Enable C++ language options when language is C or ObjC as a workaround since
  the expression parser uses features of C++ to capture values.
* Enable ObjC language options when language is C++ as a workaround for ObjC
  requirements.
* Disable C++11 language options when language is C++03.
* Add test TestMixedLanguages.py to check that the language being used
  for evaluation is that of the frame.
* Fix test TestExprOptions.py to check for C++11 instead of C++ since C++ has
  to be enabled for C, and remove redundant expr --language test for ObjC.
* Fix TestPersistentPtrUpdate.py to not require C++11 in C.

Reviewed by: clayborg, spyffe, jingham
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D11102

llvm-svn: 246829
2015-09-04 01:02:30 +00:00
..
call-function [Windows] XFAIL tests that depend on expression name lookup. 2015-08-18 20:01:28 +00:00
call-restarts Fix a bunch of portability issues in test executables. 2015-08-25 22:25:21 +00:00
call-throws Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
char Make several test case arm32 compatible 2015-04-17 09:37:06 +00:00
expr-in-syscall Fix a bunch of portability issues in test executables. 2015-08-25 22:25:21 +00:00
formatters Lookup function using full name if one with mangled name is not found. 2015-09-03 23:27:10 +00:00
issue_11588 Make Test11588 compatible with non x86/x86_64 architecture 2015-04-01 10:45:44 +00:00
options Set the default language to use when evaluating to that of the frame's CU. 2015-09-04 01:02:30 +00:00
persist_objc_pointeetype Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
persistent_ptr_update Set the default language to use when evaluating to that of the frame's CU. 2015-09-04 01:02:30 +00:00
persistent_types [Windows] XFAIL tests that require calling a function in target. 2015-08-20 22:09:35 +00:00
persistent_variables Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
po_verbosity Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
radar_8638051 Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
radar_9531204 [Windows] XFAIL tests that require calling a function in target. 2015-08-20 22:09:35 +00:00
radar_9673664 [Windows] XFAIL tests that require calling a function in target. 2015-08-20 22:09:35 +00:00
test [Windows] XFAIL tests that require calling a function in target. 2015-08-20 22:09:35 +00:00
timeout Increase timeout in TestCallWithTimeout to reduce flakyness 2015-08-20 12:12:09 +00:00
two-files Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
.categories Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00