HomePhabricator

[dotest] Add the ability to set environment variables for the inferior.

Authored by JDevlieghere on Jun 26 2019, 9:12 AM.

Description

[dotest] Add the ability to set environment variables for the inferior.

This patch adds a dotest flag for setting environment variables for the
inferior. This is different from the current --env flag, which sets
variables in the debugger's environment. This allows us to set things
like LD_LIBRARY_PATH for testing.

Differential revision: https://reviews.llvm.org/D63790

llvm-svn: 364443