hanchenye-llvm-project/lldb/source
Enrico Granata 7a37df3fc3 Improve the way LLDB escapes arguments before passing them to the shell
Teach LLDB that different shells have different characters they are sensitive to, and use that knowledge to do shell-aware escaping

This helps solve a class of problems on OS X where LLDB would try to launch via sh, and run into problems if the command line being passed to the inferior contained such special markers (hint: the shell would error out and we'd fail to launch)
This makes those launch scenarios work transparently via shell expansion

Slightly improve the error message when this kind of failure occurs to at least suggest that the user try going through 'process launch' directly

Fixes rdar://problem/22749408

llvm-svn: 265357
2016-04-04 22:46:38 +00:00
..
API Fix the ThreadSanitizer support to avoid creating empty SBThreads and to not crash when thread_id is unavailable. Plus a whitespace fix. 2016-03-30 10:50:24 +00:00
Breakpoint Add a DiagnosticManager replace error streams in the expression parser. 2016-03-19 00:03:59 +00:00
Commands Implement `target modules dump objfile` 2016-04-04 21:21:49 +00:00
Core Get rid of a global constructor that was causing a warning on MacOSX and make the Timer safe to use after the main threads global destructor chain is called. 2016-03-24 21:46:47 +00:00
DataFormatters This change introduces a "ExpressionExecutionThread" to the ThreadList. 2016-03-12 02:45:34 +00:00
Expression Don't register the addresses of private symbols from expressions. 2016-03-30 03:44:51 +00:00
Host Make FileSpec handling platform-independent 2016-04-04 14:39:12 +00:00
Initialization Move DynamicLoader plugins to SystemInitializerFull 2016-03-29 15:00:26 +00:00
Interpreter Improve the way LLDB escapes arguments before passing them to the shell 2016-04-04 22:46:38 +00:00
Plugins Implement `target modules dump objfile` 2016-04-04 21:21:49 +00:00
Symbol Add some unit tests for ClangASTContext. 2016-04-01 23:20:35 +00:00
Target Improve the way LLDB escapes arguments before passing them to the shell 2016-04-04 22:46:38 +00:00
Utility Fixed an issue that could cause debugserver to return two stop reply packets ($T packets) for one \x03 interrupt. The problem was that when a \x03 byte is sent to debugserver while the process is running, and up calling: 2016-04-01 00:41:29 +00:00
CMakeLists.txt Add initial CMake glue for the NetBSD platform 2015-10-24 00:27:04 +00:00
lldb.cpp Add more NetBSD platform glue for lldb 2015-11-07 15:31:54 +00:00