
Currently empty arguments are not respected. They are silently dropped in two places: (1) when extracting them from the target.run-args setting and (2) when constructing the lldb-argdumper invocation. (1) is actually a regression from a few years ago. We did not always drop empty arguments. See 31d97a5c8ab78c619deada0cdb1fcf64021d25dd. rdar://106279228 Differential Revision: https://reviews.llvm.org/D145450
8 lines
221 B
Plaintext
8 lines
221 B
Plaintext
# RUN: %clang_host %S/Inputs/dumpargs.c -o %t.out
|
|
# RUN: %lldb -b -o "r" %t.out -- "one" "two" "" "three" | FileCheck %s
|
|
|
|
# CHECK: argv[1] = "one"
|
|
# CHECK: argv[2] = "two"
|
|
# CHECK: argv[3] = ""
|
|
# CHECK: argv[4] = "three"
|