[Lldb-commits] [PATCH] Fix handling of backslashes in Args parsing
Greg Clayton
clayborg at gmail.com
Wed Feb 25 10:33:37 PST 2015
sh-3.2$ ./a.out "a b\" c"
<hr class="remarkup-hr" />
Arguments
---------
argv[ 0] = './a.out'
argv[ 1] = 'a b" c'
So "/bin/sh" on MacOSX seems to think case C is the correct one. Note the single quotes are not part of the argument, they are just used to dump the arguments in case they have spaces.
http://reviews.llvm.org/D7855
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list