From 97adbba88e84b661b3ddeb45b04a00886e4c118e Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Sat, 27 Oct 2018 20:02:06 +0000 Subject: [PATCH] [utils] Run tests in the proper directory. The intent here was to run check-llvm/check-clang in the instrumented clang's build directory, not the maybe-not-yet-created uninstrumented clang's. Oops. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345461 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/collect_and_build_with_pgo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/collect_and_build_with_pgo.py b/utils/collect_and_build_with_pgo.py index 0b3943647bc..144eed3cc22 100755 --- a/utils/collect_and_build_with_pgo.py +++ b/utils/collect_and_build_with_pgo.py @@ -41,7 +41,7 @@ def _run_benchmark(env, out_dir, include_debug_info): # paths a fair amount, though the `if (stuff_is_broken) { diag() ... }` # branches should still heavily be weighted in the not-taken direction, # since we built all of LLVM/etc). - _build_things_in(env, target_dir, what=['check-llvm', 'check-clang']) + _build_things_in(env, out_dir, what=['check-llvm', 'check-clang']) # Building tblgen gets us coverage; don't skip it. (out_dir may also not # have them anyway, but that's less of an issue) -- 2.11.0