[PATCH] D143556: [lit] Pass LLVM_PROFILE_FILE environment
Tobias Hieta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 8 00:23:13 PST 2023
thieta created this revision.
thieta added reviewers: abrachet, hubert.reinterpretcast.
Herald added subscribers: wenlei, delcypher.
Herald added a project: All.
thieta requested review of this revision.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143556
Files:
llvm/utils/lit/lit/TestingConfig.py
Index: llvm/utils/lit/lit/TestingConfig.py
===================================================================
--- llvm/utils/lit/lit/TestingConfig.py
+++ llvm/utils/lit/lit/TestingConfig.py
@@ -30,6 +30,7 @@
'LLDB',
'LD_PRELOAD',
'LLVM_SYMBOLIZER_PATH',
+ 'LLVM_PROFILE_FILE',
'ASAN_SYMBOLIZER_PATH',
'HWASAN_SYMBOLIZER_PATH',
'LSAN_SYMBOLIZER_PATH',
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143556.495746.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230208/cbb16b3e/attachment.bin>
More information about the llvm-commits
mailing list