[compiler-rt][lit] initialize LIT LLVMConfig instance
authorYuanfang Chen <yuanfang.chen@sony.com>
Mon, 22 Aug 2022 23:01:09 +0000 (16:01 -0700)
committerYuanfang Chen <yuanfang.chen@sony.com>
Mon, 22 Aug 2022 23:36:39 +0000 (16:36 -0700)
commite78208f082f0a0be19d343295c055a1924aede55
tree9e9c9e12135210a90a7fdb71addb51864729b253
parent5f886adbfd7c09f7883589ec9d85c04a08335043
[compiler-rt][lit] initialize LIT LLVMConfig instance

to handle lit tools searching. Otherwise
compiler-rt depends on system environment variable PATH for lit tools
which diverge from the other LLVM projects. This reverts D83486 which
really should be implemented in LIT itself when the PATH is constructed.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D122837
compiler-rt/test/lit.common.cfg.py
compiler-rt/test/lit.common.configured.in