Skip to content

Commit

Permalink
[lit] Pass LLVM_PROFILE_FILE environment
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tru committed Feb 8, 2023
1 parent 6ce8e71 commit 3ecaf27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/utils/lit/lit/TestingConfig.py
Expand Up @@ -30,6 +30,7 @@ def fromdefaults(litConfig):
'LLDB',
'LD_PRELOAD',
'LLVM_SYMBOLIZER_PATH',
'LLVM_PROFILE_FILE',
'ASAN_SYMBOLIZER_PATH',
'HWASAN_SYMBOLIZER_PATH',
'LSAN_SYMBOLIZER_PATH',
Expand Down

0 comments on commit 3ecaf27

Please sign in to comment.