Skip to content

Commit 3ecaf27

Browse files
committed
[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
1 parent 6ce8e71 commit 3ecaf27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/utils/lit/lit/TestingConfig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def fromdefaults(litConfig):
3030
'LLDB',
3131
'LD_PRELOAD',
3232
'LLVM_SYMBOLIZER_PATH',
33+
'LLVM_PROFILE_FILE',
3334
'ASAN_SYMBOLIZER_PATH',
3435
'HWASAN_SYMBOLIZER_PATH',
3536
'LSAN_SYMBOLIZER_PATH',

0 commit comments

Comments
 (0)