[Lldb-commits] [lldb] [LLDB] Extract process arguments from core dump for Linux (PR #185338)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 16 04:16:12 PDT 2026


================

----------------
DavidSpickett wrote:

Would there be any harm to doing this unconditionally? I don't think so because the member this finally sets is:
```
  Args m_arguments; // All program arguments except argv[0]
```
So any code using it will be used to a default constructed (empty) Args anyway.

Also use `/*first_arg_is_executable=*/true`.

https://github.com/llvm/llvm-project/pull/185338


More information about the lldb-commits mailing list