================ @@ -20,9 +21,13 @@ elif clang_bolt_mode == "perf": else: assert 0, "Unsupported CLANG_BOLT_MODE variable" -config.clang = perf_wrapper + os.path.realpath( +clang_nowrapper = os.path.realpath( lit.util.which(clang_binary, config.clang_tools_dir) ).replace("\\", "/") +config.clang = perf_wrapper + clang_nowrapper ---------------- aaupov wrote:
Just for my understanding: we're keeping perf_wrapper set if CLANG_BOLT=perf. However we pass perf_wrapper in front of cmake command in `clang/utils/perf-training/llvm-support/build.test` – do we end up with nested perf invocations, or do we strip perf_wrapper from clang in this case? https://github.com/llvm/llvm-project/pull/119117 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits