aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2020-08-28 15:38:39 +0200
committerMed Ismail Bennani <medismail.bennani@gmail.com>2020-09-02 16:36:10 +0200
commitaddb5148f58d710fcaba04bb2afec8006ae8ac15 (patch)
treeaee143185e2be542401ab16d75675572a735eaea /clang/lib/CodeGen/CodeGenModule.cpp
parent425573a2fa2dc5666273944a584acdb286447b66 (diff)
downloadllvm-addb5148f58d710fcaba04bb2afec8006ae8ac15.zip
llvm-addb5148f58d710fcaba04bb2afec8006ae8ac15.tar.gz
llvm-addb5148f58d710fcaba04bb2afec8006ae8ac15.tar.bz2
[lldb/Target] Add custom interpreter option to `platform shell`
This patch adds the ability to use a custom interpreter with the `platform shell` command. If the user set the `-s|--shell` option with the path to a binary, lldb passes it down to the platform's `RunShellProcess` method and set it as the shell to use in `ProcessLaunchInfo to run commands. Note that not all the Platforms support running shell commands with custom interpreters (i.e. RemoteGDBServer is only expected to use the default shell). This patch also makes some refactoring and cleanups, like swapping CString for StringRef when possible and updating `SBPlatformShellCommand` with new methods and a new constructor. rdar://67759256 Differential Revision: https://reviews.llvm.org/D86667 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions