llvm-project/lldb
Zachary Turner 08426e1f9f Refactor ExecuteAndWait to take StringRefs.
This simplifies some code which had StringRefs to begin with, and
makes other code more complicated which had const char* to begin
with.

In the end, I think this makes for a more idiomatic and platform
agnostic API.  Not all platforms launch process with null terminated
c-string arrays for the environment pointer and argv, but the api
was designed that way because it allowed easy pass-through for
posix-based platforms.  There's a little additional overhead now
since on posix based platforms we'll be takign StringRefs which
were constructed from null terminated strings and then copying
them to null terminate them again, but from a readability and
usability standpoint of the API user, I think this API signature
is strictly better.

llvm-svn: 334518
2018-06-12 17:43:52 +00:00
..
cmake [cmake] Detect presence of wide-char libedit at build time 2018-06-11 09:14:26 +00:00
docs Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
examples Added a BSD archive tool. 2018-04-02 17:20:21 +00:00
include/lldb Add a new SBTarget::LoadCore() overload which surfaces errors if the load fails 2018-06-11 21:19:26 +00:00
lit DWARFDebugNames: Implement last GetGlobalVariables overload 2018-06-12 13:11:25 +00:00
lldb.xcodeproj Add DebugNamesDWARFIndex.cpp. 2018-06-11 21:35:36 +00:00
lldb.xcworkspace Fix a typo in the gtest build target for Debug configuration. 2018-04-10 17:49:56 +00:00
packages/Python/lldbsuite DebugNamesDWARFIndex: Implement DWARFDeclContext variant of GetTypes method 2018-06-12 16:50:01 +00:00
resources
scripts Add a new SBTarget::LoadCore() overload which surfaces errors if the load fails 2018-06-11 21:19:26 +00:00
source DebugNamesDWARFIndex: Implement DWARFDeclContext variant of GetTypes method 2018-06-12 16:50:01 +00:00
test [test] Fix --framework argument passed to dotest. 2018-05-29 12:30:27 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools Fix build error introduced in r334498 2018-06-12 13:26:43 +00:00
unittests Refactor ExecuteAndWait to take StringRefs. 2018-06-12 17:43:52 +00:00
utils [CMake] Unify and relayer testing 2018-05-03 16:54:10 +00:00
www Typo fixes. 2018-05-29 09:10:46 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt Remove commented out line from top-level CMakeLists.txt 2018-06-07 20:17:46 +00:00
CODE_OWNERS.txt Remove Sean Callanan from the CODE_OWNERS, he won't have time 2017-11-01 01:38:42 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00