[PATCH] D140861: llvm-reduce: Only disable crash reports in the child

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 20 18:35:37 PST 2023


arsenm added a comment.

In D140861#4070402 <https://reviews.llvm.org/D140861#4070402>, @aeubanks wrote:

> yes, dropping `PATH` is bad
>
> is there a way to get the current env and add to it?

Yes, but I'm not sure if any of them are fully portable. The two I know are use the 3rd envp argument to main, and then the environ global variable.


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

https://reviews.llvm.org/D140861



More information about the llvm-commits mailing list