projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce8e71
)
[lit] Pass LLVM_PROFILE_FILE environment
author
Tobias Hieta
<tobias@hieta.se>
Wed, 8 Feb 2023 08:20:47 +0000
(09:20 +0100)
committer
Tobias Hieta
<tobias@hieta.se>
Wed, 8 Feb 2023 09:14:16 +0000
(10:14 +0100)
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
patch
|
blob
|
history
diff --git
a/llvm/utils/lit/lit/TestingConfig.py
b/llvm/utils/lit/lit/TestingConfig.py
index
c86f27e
..
6995a9a
100644
(file)
--- a/
llvm/utils/lit/lit/TestingConfig.py
+++ b/
llvm/utils/lit/lit/TestingConfig.py
@@
-30,6
+30,7
@@
class TestingConfig(object):
'LLDB',
'LD_PRELOAD',
'LLVM_SYMBOLIZER_PATH',
+ 'LLVM_PROFILE_FILE',
'ASAN_SYMBOLIZER_PATH',
'HWASAN_SYMBOLIZER_PATH',
'LSAN_SYMBOLIZER_PATH',