[Lldb-commits] [PATCH] D75241: [lldb] Adjust TestExec code to be closer to real world code

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 27 05:50:18 PST 2020


labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.

Linux seems to allow a NULL for envp, but it does caution about the unportability of that practice. I doubt changing the argv[0] would be a problem, as that is a fairly common practice, but we can try it anyway.

Instead of passing the `environ` array you could just call `execv`...


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75241/new/

https://reviews.llvm.org/D75241





More information about the lldb-commits mailing list