diff options
| author | Scott Linder <Scott.Linder@amd.com> | 2020-02-20 16:31:17 -0500 |
|---|---|---|
| committer | Scott Linder <Scott.Linder@amd.com> | 2020-02-21 19:16:59 -0500 |
| commit | 340feac6721e840f88c1e77dd79931eea5eaccf3 (patch) | |
| tree | 0b6ff64eac5a7dd6d7e2e9acc2b818150cc010ad /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 42060c0a987076567814f97abdf485a55bf6018a (diff) | |
[Driver] Escape the program path for -frecord-command-line
Similar to the rest of the command line that is recorded, the program
path must also have spaces and backslashes escaped. Without this
parsing the recorded command line becomes hard on platforms like
Windows where spaces and backslashes are common.
This was originally reverted in
577d9ce35532439203411c999deefc9c80e04c69; this version makes a test
agnostic to the presence of backslashes in paths on some platforms.
Patch By: Ravi Ramaseshan
Differential Revision: https://reviews.llvm.org/D74811
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
