tsan: add SetEnv() function that can be used in frontends

llvm-svn: 177857
2 files changed