From 8527ac5e56e0fae87d720ec5eac2885c7b22d12d Mon Sep 17 00:00:00 2001 From: eeckstein Date: Fri, 22 Mar 2019 15:58:01 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20"Revert=20"For=20checking=20determinis?= =?UTF-8?q?tic=20compilation,=20do=20an=20initial=20"warm-u=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/check-incremental | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/check-incremental b/utils/check-incremental index 2b6e52d155f9a..1eada3400467f 100755 --- a/utils/check-incremental +++ b/utils/check-incremental @@ -74,6 +74,11 @@ def main(): if VERBOSE: print("Reference compilation of " + output_file + ":") + # As a workaround for rdar://problem/43442957 and rdar://problem/43439465 + # we have to "warm-up" the clang module cache. Without that in some cases + # we end up with small differences in the debug info. + compile_and_stat(new_args, output_file) + reference_md5, reference_time = compile_and_stat(new_args, output_file) subprocess.check_call(["cp", output_file, output_file + ".ref.o"])