diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2018-10-27 20:02:06 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2018-10-27 20:02:06 +0000 |
commit | e61b0d772c28c7230b2008aafbab47d895aecc2e (patch) | |
tree | 789f972c7639050211e1267fdaff89901fe6f8c9 /llvm/utils/collect_and_build_with_pgo.py | |
parent | 17ff026b730dd4c31dd72a3f7c4f971295b4cfa5 (diff) | |
download | bcm5719-llvm-e61b0d772c28c7230b2008aafbab47d895aecc2e.tar.gz bcm5719-llvm-e61b0d772c28c7230b2008aafbab47d895aecc2e.zip |
[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. :)
llvm-svn: 345461
Diffstat (limited to 'llvm/utils/collect_and_build_with_pgo.py')
-rwxr-xr-x | llvm/utils/collect_and_build_with_pgo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/collect_and_build_with_pgo.py b/llvm/utils/collect_and_build_with_pgo.py index 0b3943647bc..144eed3cc22 100755 --- a/llvm/utils/collect_and_build_with_pgo.py +++ b/llvm/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) |