[lldb-dev] [Bug 51046] New: Empty strings removed from target's argument list

via lldb-dev lldb-dev at lists.llvm.org
Sat Jul 10 07:10:17 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51046

            Bug ID: 51046
           Summary: Empty strings removed from target's argument list
           Product: lldb
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: tom.pouget at gmail.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

When I run :

./myprog "" 2 4 2 

from bash or zsh the empty string argument is included in the list of arguments
but when I use :

lldb -- ./myprog "" 2 4 2

the empty string is removed from the arguments. So I can't really debug passing 
empty strings to my program. Is is a technical constraint or a design choice or
a bug ?

Running clang version 10.0.0-4ubuntu1 Target : x86_64-pc-linux-gnu

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20210710/4e809ce0/attachment.html>


More information about the lldb-dev mailing list