llvm-project/lldb/test
Greg Clayton 453925530d <rdar://problem/12462048>
LLDB changes argv[0] when debugging a symlink. Now we have the notion of argv0 in the target settings:

target.arg0 (string) = 

There is also the program argument that are separate from the first argument that have existed for a while:

target.run-args (arguments) =

When running "target create <exe>", we will place the untouched "<exe>" into target.arg0 to ensure when we run, we run with what the user typed. This has been added to the ProcessLaunchInfo and all other needed places so we always carry around the:
- resolved executable path
- argv0
- program args

Some systems may not support separating argv0 from the resolved executable path and the ProcessLaunchInfo needs to carry all of this information along so that each platform can make that decision.

llvm-svn: 166137
2012-10-17 22:57:12 +00:00
..
api/check_public_api_headers Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
arm_emulation <rdar://problem/11358639> 2012-05-08 01:45:38 +00:00
attic Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
benchmarks Test file renaming. 2012-04-23 17:54:40 +00:00
example Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
expression_command <rdar://problem/12462048> 2012-10-17 22:57:12 +00:00
functionalities <rdar://problem/12446320> Fixing an issue with our Driver where setting an immediate output would not cause suppression of the final printout. This allows effective output redirection for Python commands 2012-10-16 20:57:12 +00:00
help Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
lang Added support for "bool", "true", and "false" to 2012-10-17 22:09:59 +00:00
logging Second batch of adding @dsym_test/@dwarf_test decorators to existing test cases. 2012-04-06 19:54:10 +00:00
macosx Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
make Compile shared libraries with dSYM files when requested on darwin. Prior to this, we never had dSYM files for shared libraries unless it was a dylib only Makefile. 2012-09-20 21:43:11 +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 Fix the wrong comment in TestUUIDMismatchWarnings.py. 2012-08-20 22:36:58 +00:00
python_api Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
settings Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
source-manager Fix a test failure caused by checkin 165274. 2012-10-05 19:14:57 +00:00
terminal Continue the cleanup started on r158737 2012-06-20 10:13:40 +00:00
types Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +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
warnings/uuid Make TestAddDsymCommand not fail since bundles were accepted as add-dsym arguments. 2012-09-12 14:43:45 +00:00
.categories Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
Makefile Update the Makefile to expect the lldb package 2012-05-29 14:06:40 +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 Added support for the DebugClang configuration to the 2012-09-26 21:16:15 +00:00
lldbbench.py Tests decorated with @benchmarks_test do not participate in the remote-macosx test suite run. 2012-04-19 23:50:00 +00:00
lldbtest.py If a full path to a compiler is provided on the 2012-10-16 18:22:04 +00:00
lldbutil.py Remove a couple of debugging printf's from the testsuite. 2012-09-24 18:11:54 +00:00
redo.py Fixed the redo.py script to emit correct arch and compiler options after dotest.py was switched over to use argparse. 2012-10-09 16:54:55 +00:00