[lit] Pass LLVM_PROFILE_FILE environment
authorTobias Hieta <tobias@hieta.se>
Wed, 8 Feb 2023 08:20:47 +0000 (09:20 +0100)
committerTobias Hieta <tobias@hieta.se>
Wed, 8 Feb 2023 09:14:16 +0000 (10:14 +0100)
commit3ecaf27c0d05febc7bffaeb096a43e31a3513c41
treecb17ce3d3736d3e2e891d04b9dc5bfbf9aa2d913
parent6ce8e716bfab4a1d2d8777f9868af5759a515391
[lit] Pass LLVM_PROFILE_FILE environment

When building a PGO version of LLVM you might want to customize
the output profile file when building tests. For this to work
we need to pass LLVM_PROFILE_FILE enviroment.

Reviewed By: abrachet

Differential Revision: https://reviews.llvm.org/D143556
llvm/utils/lit/lit/TestingConfig.py