diff options
| author | Ilia K <ki.stfu@gmail.com> | 2015-04-14 14:12:22 +0000 |
|---|---|---|
| committer | Ilia K <ki.stfu@gmail.com> | 2015-04-14 14:12:22 +0000 |
| commit | bc929b80dc5a1a7112015854ed3301c56203adbb (patch) | |
| tree | cf47be9798027508f4a4a017709f868be7794f1f /llvm/tools/llvm-extract | |
| parent | 225542713b0d5e1c42055e0e77bc56c140100d75 (diff) | |
| download | bcm5719-llvm-bc929b80dc5a1a7112015854ed3301c56203adbb.tar.gz bcm5719-llvm-bc929b80dc5a1a7112015854ed3301c56203adbb.zip | |
Fix handling of the executable arg which contains spaces (MI)
* Don't use the CMICmdArgValFile::GetFileNamePath for the CMIDriver::m_strCmdLineArgExecuteableFileNamePath
because it wraps path with spaces into quotes what is already being done in CMIDriver::LocalDebugSessionStartupExecuteCommands
* Improve the MiSyntaxTestCase.test_lldbmi_specialchars test to catch this error
```
$ bin/lldb-mi "~/p/ hello"
(gdb)
-file-exec-and-symbols "\"~/p/ hello\""
^error,msg="Command 'file-exec-and-symbols'. Target binary '\"~/p/ hello\"' is invalid. error: unable to find executable for '/"~/p/ hello/"'"
```
llvm-svn: 234888
Diffstat (limited to 'llvm/tools/llvm-extract')
0 files changed, 0 insertions, 0 deletions

