llvm-project/lldb
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
..
cmake Fix cmake build. 2015-09-03 04:17:57 +00:00
docs Have debugserver send the OS version string plus 2015-08-12 03:27:33 +00:00
examples Fix process_events.py to auto continue the process if we attached so the process doesn't just sit there suspended. 2015-08-12 20:04:01 +00:00
include Set the default language to use when evaluating to that of the frame's CU. 2015-09-04 01:02:30 +00:00
lib Bug 24332 - Fix the build of lldb under GNU/Linux when using autotools 2015-08-05 12:46:53 +00:00
lit Create a check-lldb-unit target to run unit tests. 2015-03-13 20:55:07 +00:00
lldb.xcodeproj Nuke CXXFormatterFunctions.cpp - split the contents of it across different files, so that things are better organized along the C++/ObjC line 2015-09-04 00:33:51 +00:00
lldb.xcworkspace Working on getting the OSX build green 2015-05-12 02:20:27 +00:00
resources Only export public symbols with the cmake build. 2015-09-04 00:00:41 +00:00
scripts [cmake] Remove LLVM_NO_RTTI. 2015-09-03 08:46:55 +00:00
source Set the default language to use when evaluating to that of the frame's CU. 2015-09-04 01:02:30 +00:00
test Set the default language to use when evaluating to that of the frame's CU. 2015-09-04 01:02:30 +00:00
tools Only export public symbols with the cmake build. 2015-09-04 00:00:41 +00:00
unittests Make UriParser to support [$HOSTNAME] notation. 2015-08-20 23:09:34 +00:00
utils LUI: Fix some issues causing crashes in the source view 2013-10-23 01:18:21 +00:00
www Roll dosep.py parallel test runner into dotest.py command line 2015-09-03 18:58:44 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.clang-format Update build instructions / coding conventions. 2015-03-10 23:22:25 +00:00
.gitignore Fix .gitignore to ignore symlinks. 2015-03-31 00:03:00 +00:00
CMakeLists.txt Standalone cmake build improvements (bug #23889) 2015-07-17 15:50:48 +00:00
CODE_OWNERS.txt Convert CRLF to LF in CODE_OWNERS.txt 2015-03-23 14:00:54 +00:00
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
Makefile Test commit 2015-07-22 08:41:18 +00:00